From: Russ Cox Date: Wed, 25 Nov 2009 00:01:35 +0000 (-0800) Subject: make.bash: clear CDPATH to avoid output from cd X-Git-Tag: weekly.2009-12-07~129 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6c827cb412820ab5198ae81171803126ca1b0964;p=gostls13.git make.bash: clear CDPATH to avoid output from cd Fixes #306. R=r, r1 https://golang.org/cl/160060 --- diff --git a/src/make.bash b/src/make.bash index c9a812b763..7d0c2b350f 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