aboutsummaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/run.bash b/src/run.bash
index 1c6c424434..1acd0194b6 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -15,11 +15,10 @@ export GOROOT # the api test requires GOROOT to be set.
# to point to an actual directory, it just needs to pass the semantic
# checks performed by Go. Use $GOROOT to define $GOPATH so that we
# don't blunder into a user-defined symbolic link.
-GOPATH=$GOROOT/nonexistentpath
-export GOPATH
+export GOPATH=/dev/null
unset CDPATH # in case user has it set
-unset GOBIN # Issue 14340
+export GOBIN=$GOROOT/bin # Issue 14340
unset GOFLAGS
unset GO111MODULE