mirror of
https://github.com/golang/go
synced 2024-11-22 06:34:40 -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:
parent
53ab6a0ad1
commit
6c827cb412
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user