mirror of
https://github.com/golang/go
synced 2024-11-21 20:44:39 -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:
parent
81cf9f7e63
commit
9e1ee8ff4f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user