]> Cypherpunks repositories - gostls13.git/commitdiff
make.bash: clear CDPATH to avoid output from cd
authorRuss Cox <rsc@golang.org>
Wed, 25 Nov 2009 00:01:35 +0000 (16:01 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 25 Nov 2009 00:01:35 +0000 (16:01 -0800)
Fixes #306.

R=r, r1
https://golang.org/cl/160060

src/make.bash

index c9a812b76389fe6eb673883e454236d3184534ab..7d0c2b350f8b898438b2f446016aa58a6dbb70ff 100755 (executable)
@@ -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