diff -r 1b4c77a599c3 src/env.bash --- a/src/env.bash Sat Sep 18 11:43:10 2010 +1000 +++ b/src/env.bash Sun Sep 19 18:12:02 2010 +0000 @@ -15,7 +15,7 @@ # Various aspects of the build cd into $GOROOT-rooted paths, # making it easy to jump to a different tree and get confused. DIR1=$(cd ..; pwd) -DIR2=$(cd $GOROOT; pwd) +DIR2=$(cd "$GOROOT"; pwd) if [ "$DIR1" != "$DIR2" ]; then echo 'Suspicious $GOROOT '$GOROOT': does not match current directory.' 1>&2 exit 1