Repository: brooklyn-client Updated Branches: refs/heads/master 3486f6ff4 -> d705af1f4
set sensible defaults (`.` is not a valid GOPATH) Project: http://git-wip-us.apache.org/repos/asf/brooklyn-client/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-client/commit/98b22913 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-client/tree/98b22913 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-client/diff/98b22913 Branch: refs/heads/master Commit: 98b22913f9bd1095c49ce8eb78e0bcfc04a3abb5 Parents: 95d1fb0 Author: Alex Heneveld <[email protected]> Authored: Mon Apr 24 11:42:58 2017 +0100 Committer: Alex Heneveld <[email protected]> Committed: Mon Apr 24 11:42:58 2017 +0100 ---------------------------------------------------------------------- cli/release/build.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-client/blob/98b22913/cli/release/build.sh ---------------------------------------------------------------------- diff --git a/cli/release/build.sh b/cli/release/build.sh index 6f91ed4..c8089b4 100755 --- a/cli/release/build.sh +++ b/cli/release/build.sh @@ -36,8 +36,8 @@ START_TIME=$(date +%s) os="" arch="" all="" -outdir="." -sourcedir="." +outdir=`pwd`/target +sourcedir=`pwd` label="" timestamp="" @@ -174,12 +174,7 @@ See golang.org for more information, or run maven with '-Dno-go-client' to skip. exit 1 fi - -if [ -n "$outdir" -a ! -d "$outdir" ]; then - show_help - echo "No such directory: $outdir" - exit 1 -fi +mkdir -p $outdir # Set GOPATH to $outdir and link to source code. export GOPATH=${outdir}
