diff --git a/scripts/build.sh b/scripts/build.sh index 205877720..1dfd508a6 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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