don't assume gopath is set

This commit is contained in:
Greg Gauthier 2021-03-19 07:54:29 +00:00
parent b2a096a956
commit 0fa518cd00
1 changed files with 2 additions and 0 deletions

View File

@ -1,7 +1,9 @@
#!/usr/bin/env sh
GOPATH=$HOME/go
GOPATH=$GOPATH:$(pwd)
export GOPATH
echo $GOPATH
GIT_COMMIT=$(git rev-list -1 HEAD)
export GIT_COMMIT