diff options
author | Russ Cox <rsc@golang.org> | 2009-11-24 16:01:35 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-11-24 16:01:35 -0800 |
commit | a1f0af0cfd932c0ab6291f30a62ae28acf04f225 (patch) | |
tree | b6761e272b48ad73594e7981a6a16bac2cda2cbc /src/make.bash | |
parent | d12a34cb19f450e837e0372dc6b2594b508bea12 (diff) | |
download | golang-a1f0af0cfd932c0ab6291f30a62ae28acf04f225.tar.gz |
make.bash: clear CDPATH to avoid output from cd
Fixes issue 306.
R=r, r1
http://codereview.appspot.com/160060
Diffstat (limited to 'src/make.bash')
-rwxr-xr-x | src/make.bash | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/make.bash b/src/make.bash index c9a812b76..7d0c2b350 100755 --- a/src/make.bash +++ b/src/make.bash @@ -7,6 +7,8 @@ set -e GOBIN="${GOBIN:-$HOME/bin}" export MAKEFLAGS=-j4 +unset CDPATH # in case user has it set + if ! test -f "$GOROOT"/include/u.h then echo '$GOROOT is not set correctly or not exported' 1>&2 |