aboutsummaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
Diffstat (limited to 'src/make.bash')
-rwxr-xr-xsrc/make.bash3
1 files changed, 3 insertions, 0 deletions
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