only obtain gx if we do not have it
This commit is contained in:
parent
504c9ae84e
commit
7f1800a0c6
6
build.sh
6
build.sh
@ -56,8 +56,10 @@ export GOPATH=$PWD/go
|
||||
mkdir -p $GOPATH
|
||||
|
||||
if [ "x$ipfs" == "xyes" ] ; then
|
||||
echo "obtaining gx"
|
||||
go get -u -v github.com/whyrusleeping/gx-go
|
||||
if [ ! -e $GOPATH/bin/gx ] ; then
|
||||
echo "obtaining gx"
|
||||
go get -u -v github.com/whyrusleeping/gx-go
|
||||
fi
|
||||
mkdir -p vendor/gx/ipfs
|
||||
cd vendor/gx/ipfs
|
||||
$GOPATH/bin/gx get $rev
|
||||
|
Reference in New Issue
Block a user