pick first directory from GOPATH

This commit is contained in:
Robert B Gordon 2014-04-24 18:06:09 -06:00
parent 513dfa8947
commit ccdbb006ac
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