1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2024-11-28 09:08:44 +02:00

dist.sh: run gpm with GOPATH=$DIR/.godeps

so gpm is not affected if module exists in user's GOPATH already
This commit is contained in:
Pierce Lopez 2017-03-27 19:13:05 -04:00
parent 86c9638572
commit 2024dc34ac

View File

@ -7,7 +7,7 @@ echo "working dir $DIR"
mkdir -p $DIR/dist
mkdir -p $DIR/.godeps
export GOPATH=$DIR/.godeps:$GOPATH
gpm install
GOPATH=$DIR/.godeps gpm install
os=$(go env GOOS)
arch=$(go env GOARCH)