Commit 9e1ee8ff authored by Russ Cox's avatar Russ Cox

env.bash: more quoting in case of spaces

R=r, r2
CC=golang-dev
https://golang.org/cl/2938041
parent 81cf9f7e
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment