1
0
mirror of https://github.com/golang/go synced 2024-11-21 14:54:40 -07:00

env.bash: more quoting in case of spaces

R=r, r2
CC=golang-dev
https://golang.org/cl/2938041
This commit is contained in:
Russ Cox 2010-11-05 23:04:08 -04:00
parent 81cf9f7e63
commit 9e1ee8ff4f

View File

@ -17,7 +17,7 @@ fi
DIR1=$(cd ..; pwd)
DIR2=$(cd "$GOROOT"; pwd)
if [ "$DIR1" != "$DIR2" ]; then
echo 'Suspicious $GOROOT '$GOROOT': does not match current directory.' 1>&2
echo 'Suspicious $GOROOT '"$GOROOT"': does not match current directory.' 1>&2
exit 1
fi
@ -29,7 +29,7 @@ if [ ! -d "$GOBIN" -a "$GOBIN" != "$GOROOT/bin" ]; then
fi
export OLDPATH=$PATH
export PATH=/bin:/usr/bin:$GOBIN:$PATH
export PATH=/bin:/usr/bin:"$GOBIN":$PATH
MAKE=make
if ! make --version 2>/dev/null | grep 'GNU Make' >/dev/null; then