From 3b50adbc4f1a9d775f0434166ad71220e8a4b8ce Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 19 May 2016 17:43:04 +0000 Subject: build: unset GOBIN during build Fixes #14340 Change-Id: I43e1624fafc972fb868708c3857fc8acf1bfbbd7 Reviewed-on: https://go-review.googlesource.com/23255 Run-TryBot: Brad Fitzpatrick Reviewed-by: Rob Pike --- src/make.bash | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/make.bash') 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 -- cgit v1.3-5-g9baa