scripts: Protect against multiple gopaths

pull/88/head
Armon Dadgar 11 years ago
parent 65264e4ebf
commit 6cc3da0a59

@ -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…
Cancel
Save