1
0
mirror of https://github.com/golang/go synced 2024-11-25 12:57:58 -07:00

make.bash: clear CDPATH to avoid output from cd

Fixes #306.

R=r, r1
https://golang.org/cl/160060
This commit is contained in:
Russ Cox 2009-11-24 16:01:35 -08:00
parent 53ab6a0ad1
commit 6c827cb412

View File

@ -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