aboutsummaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2018-11-16 12:47:33 -0500
committerBrad Fitzpatrick <bradfitz@golang.org>2018-11-16 18:54:22 +0000
commit2a07c50a5cbf548a313eed6e691be78a0bac8b3e (patch)
treecc402e92e801f2adc0bf6cbe05c5361cc54ccfe7 /src/run.bash
parent55e1fc930b3a4efe4ac8ad74ff7844be4c7ef162 (diff)
downloadgo-2a07c50a5cbf548a313eed6e691be78a0bac8b3e.tar.gz
go-2a07c50a5cbf548a313eed6e691be78a0bac8b3e.zip
build: clear GO111MODULE during make.bash etc
The standard build assumes the variable is unset. Make it so, like we do for GOFLAGS, GOBIN, and so on. Change-Id: I4ad5695f8021b08bd1a35dd99112970a813d247c Reviewed-on: https://go-review.googlesource.com/c/149959 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@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 c14f4a206d..1c6c424434 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -21,6 +21,7 @@ export GOPATH
unset CDPATH # in case user has it set
unset GOBIN # Issue 14340
unset GOFLAGS
+unset GO111MODULE
export GOHOSTOS
export CC