Archived
1
0

only obtain gx if we do not have it

This commit is contained in:
Jeff Becker 2016-05-13 09:52:35 -04:00
parent 504c9ae84e
commit 7f1800a0c6
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -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