Fixed bug from setting up GOROOT in source file.

This commit is contained in:
Joshua Bussdieker
2011-11-18 01:17:04 -08:00
parent 32dfd84dbf
commit ae81b77265
+1 -1
View File
@@ -6,7 +6,7 @@ if [[ $1 == "install" ]]; then
echo " * Downloading..."
hg clone -u release.r$2 https://go.googlecode.com/hg/ $INSTALL_ROOT > /dev/null 2>&1
echo " * Compiling..."
cd $INSTALL_ROOT/src;./all.bash > /dev/null 2>&1
cd $INSTALL_ROOT/src;unset GOROOT;./all.bash > /dev/null 2>&1
exit 0
else
echo "ERROR: Please specifiy the version"