summaryrefslogtreecommitdiff
path: root/gobuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gobuild.sh')
-rwxr-xr-x[-rw-r--r--]gobuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/gobuild.sh b/gobuild.sh
index daa0a55..e85b718 100644..100755
--- a/gobuild.sh
+++ b/gobuild.sh
@@ -2,7 +2,7 @@
SRCDIR=$(pwd)
-GOPATH="$GOPATH:$SRCDIR"
-GO111MODULE=off
+export GOPATH="$GOPATH:$SRCDIR"
+export GO111MODULE="off"
go build -o build/${1} src/${1}.go