aboutsummaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2016-05-19 17:43:04 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2016-05-19 18:40:53 +0000
commit3b50adbc4f1a9d775f0434166ad71220e8a4b8ce (patch)
tree87e8b18dfe1f32424c68b4ba19cff20ecc9cc65e /src/run.bash
parent44497ebacb6336e4cc9ce2934840bdd68e8c46c0 (diff)
downloadgo-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/run.bash')
-rwxr-xr-xsrc/run.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/run.bash b/src/run.bash
index 3acf46a996..293b775efa 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -11,6 +11,7 @@ export GOROOT # the api test requires GOROOT to be set.
unset CDPATH # in case user has it set
unset GOPATH # we disallow local import for non-local packages, if $GOROOT happens
# to be under $GOPATH, then some tests below will fail
+unset GOBIN # Issue 14340
export GOHOSTOS
export CC