diff --git a/scripts/build.sh b/scripts/build.sh index 2058777208..1dfd508a64 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