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:
parent
86c9638572
commit
2024dc34ac
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user