pick first directory from GOPATH

This commit is contained in:
Robert B Gordon 2014-04-24 18:06:09 -06:00
parent 2874058d5a
commit 26898d10b0
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