From 6c827cb412820ab5198ae81171803126ca1b0964 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 24 Nov 2009 16:01:35 -0800 Subject: [PATCH] make.bash: clear CDPATH to avoid output from cd Fixes #306. R=r, r1 https://golang.org/cl/160060 --- src/make.bash | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.48.1