From e8580a8c2bc5bed6926c58b509b40ea4df002000 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Fri, 25 Apr 2014 15:23:25 -0600 Subject: [PATCH] scripts: Protect against multiple gopaths --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 1dfd508a6..773fc4392 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