aboutsummaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2019-02-20 18:25:37 -0500
committerBryan C. Mills <bcmills@google.com>2019-03-11 20:27:41 +0000
commit0fc89a72edc2c73651f7f6841b1146af723f517f (patch)
treea767c2d3d99dd2d9df493dcb1861f38c8f8f91af /src/make.bash
parent756a69c6c9d4c7d203e3c38d865240d5e5720efb (diff)
downloadgo-0fc89a72edc2c73651f7f6841b1146af723f517f.tar.gz
go-0fc89a72edc2c73651f7f6841b1146af723f517f.zip
cmd,std: add go.mod files
Updates #30241 Updates #30228 Change-Id: Ida0fe8263bf44e0498fed2048e22283ba5716835 Reviewed-on: https://go-review.googlesource.com/c/go/+/164622 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
Diffstat (limited to 'src/make.bash')
-rwxr-xr-xsrc/make.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make.bash b/src/make.bash
index b0e33cf6a4..2883f47c12 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -176,7 +176,7 @@ if [ "$GOROOT_BOOTSTRAP" = "$GOROOT" ]; then
exit 1
fi
rm -f cmd/dist/dist
-GOROOT="$GOROOT_BOOTSTRAP" GOOS="" GOARCH="" "$GOROOT_BOOTSTRAP/bin/go" build -o cmd/dist/dist ./cmd/dist
+GOROOT="$GOROOT_BOOTSTRAP" GOOS="" GOARCH="" GO111MODULE=off "$GOROOT_BOOTSTRAP/bin/go" build -o cmd/dist/dist ./cmd/dist
# -e doesn't propagate out of eval, so check success by hand.
eval $(./cmd/dist/dist env -p || echo FAIL=true)