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
|
mkdir -p $GOPATH
|
||||||
|
|
||||||
if [ "x$ipfs" == "xyes" ] ; then
|
if [ "x$ipfs" == "xyes" ] ; then
|
||||||
echo "obtaining gx"
|
if [ ! -e $GOPATH/bin/gx ] ; then
|
||||||
go get -u -v github.com/whyrusleeping/gx-go
|
echo "obtaining gx"
|
||||||
|
go get -u -v github.com/whyrusleeping/gx-go
|
||||||
|
fi
|
||||||
mkdir -p vendor/gx/ipfs
|
mkdir -p vendor/gx/ipfs
|
||||||
cd vendor/gx/ipfs
|
cd vendor/gx/ipfs
|
||||||
$GOPATH/bin/gx get $rev
|
$GOPATH/bin/gx get $rev
|
||||||
|
Reference in New Issue
Block a user