scripts: Protect against multiple gopaths
This commit is contained in:
parent
eca4702f6e
commit
e8580a8c2b
|
@ -31,4 +31,4 @@ go build \
|
|||
-ldflags "-X main.GitCommit ${GIT_COMMIT}${GIT_DIRTY}" \
|
||||
-v \
|
||||
-o bin/consul${EXTENSION}
|
||||
cp bin/consul${EXTENSION} ${GOPATH%:*}/bin
|
||||
cp bin/consul${EXTENSION} ${GOPATH%%:*}/bin
|
||||
|
|
Loading…
Reference in New Issue