Updated install.sh - github paths for executables

This commit is contained in:
Eric Robitaille 2014-11-20 14:25:26 -05:00
parent 0f47129113
commit d5ac24907e

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
if [ "$1" == "" ]; then if [ "$1" == "" ]; then
echo "Usage $0 executable branch ethereum develop" echo "Usage $0 executable ethereum branch develop"
echo "executable ethereum or mist" echo "executable ethereum or mist"
echo "branch develop or master" echo "branch develop or master"
exit exit
@ -19,8 +19,8 @@ if [ "$GOPATH" == "" ]; then
exit exit
fi fi
echo "go get -u -d github.com/ethereum/go-ethereum/$exe" echo "go get -u -d github.com/ethereum/go-ethereum/cmd/$exe"
go get -v -u -d github.com/ethereum/go-ethereum/$exe go get -v -u -d github.com/ethereum/go-ethereum/cmd/$exe
if [ $? != 0 ]; then if [ $? != 0 ]; then
echo "go get failed" echo "go get failed"
exit exit
@ -31,7 +31,7 @@ cd $GOPATH/src/github.com/ethereum/go-ethereum
git checkout $branch git checkout $branch
echo "go-ethereum" echo "go-ethereum"
cd $GOPATH/src/github.com/ethereum/go-ethereum/$exe cd $GOPATH/src/github.com/ethereum/go-ethereum/cmd/$exe
git checkout $branch git checkout $branch
if [ "$exe" == "mist" ]; then if [ "$exe" == "mist" ]; then