Skip to content
Permalink
Browse files
set sensible defaults (. is not a valid GOPATH)
  • Loading branch information
ahgittin committed Apr 24, 2017
1 parent 95d1fb0 commit 98b22913f9bd1095c49ce8eb78e0bcfc04a3abb5
Showing 1 changed file with 3 additions and 8 deletions.
@@ -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}

0 comments on commit 98b2291

Please sign in to comment.