diff options
author | Russ Cox <rsc@golang.org> | 2018-11-16 12:47:33 -0500 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-11-16 18:54:22 +0000 |
commit | 2a07c50a5cbf548a313eed6e691be78a0bac8b3e (patch) | |
tree | cc402e92e801f2adc0bf6cbe05c5361cc54ccfe7 /src/run.rc | |
parent | 55e1fc930b3a4efe4ac8ad74ff7844be4c7ef162 (diff) | |
download | go-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.rc')
-rwxr-xr-x | src/run.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/run.rc b/src/run.rc index 49d6fd9a4d..c346f5cf5c 100755 --- a/src/run.rc +++ b/src/run.rc @@ -11,5 +11,6 @@ GOPATH = () # we disallow local import for non-local packages, if $GOROOT happen # to be under $GOPATH, then some tests below will fail GOBIN = () # Issue 14340 GOFLAGS = () +GO111MODULE = () exec go tool dist test -rebuild $* |