You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-06-15 00:15:00 +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:
2
dist.sh
2
dist.sh
@ -7,7 +7,7 @@ echo "working dir $DIR"
|
|||||||
mkdir -p $DIR/dist
|
mkdir -p $DIR/dist
|
||||||
mkdir -p $DIR/.godeps
|
mkdir -p $DIR/.godeps
|
||||||
export GOPATH=$DIR/.godeps:$GOPATH
|
export GOPATH=$DIR/.godeps:$GOPATH
|
||||||
gpm install
|
GOPATH=$DIR/.godeps gpm install
|
||||||
|
|
||||||
os=$(go env GOOS)
|
os=$(go env GOOS)
|
||||||
arch=$(go env GOARCH)
|
arch=$(go env GOARCH)
|
||||||
|
Reference in New Issue
Block a user