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