diff options
author | Brad Fitzpatrick <bradfitz@golang.org> | 2016-05-19 17:43:04 +0000 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-05-19 18:40:53 +0000 |
commit | 3b50adbc4f1a9d775f0434166ad71220e8a4b8ce (patch) | |
tree | 87e8b18dfe1f32424c68b4ba19cff20ecc9cc65e /src/make.bash | |
parent | 44497ebacb6336e4cc9ce2934840bdd68e8c46c0 (diff) | |
download | go-3b50adbc4f1a9d775f0434166ad71220e8a4b8ce.tar.gz go-3b50adbc4f1a9d775f0434166ad71220e8a4b8ce.zip |
build: unset GOBIN during build
Fixes #14340
Change-Id: I43e1624fafc972fb868708c3857fc8acf1bfbbd7
Reviewed-on: https://go-review.googlesource.com/23255
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/make.bash')
-rwxr-xr-x | src/make.bash | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/make.bash b/src/make.bash index 82c903eadb..1a1412a00c 100755 --- a/src/make.bash +++ b/src/make.bash @@ -50,6 +50,9 @@ # GO_DISTFLAGS: extra flags to provide to "dist bootstrap". set -e + +unset GOBIN # Issue 14340 + if [ ! -f run.bash ]; then echo 'make.bash must be run from $GOROOT/src' 1>&2 exit 1 |