Merge pull request #80 from rbg/master

scripts: pick first directory from GOPATH
This commit is contained in:
Armon Dadgar 2014-04-25 15:22:34 -06:00
commit 65264e4ebf
1 changed files with 1 additions and 1 deletions

View File

@ -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