Commit d5ac2490 authored by Eric Robitaille's avatar Eric Robitaille

Updated install.sh - github paths for executables

parent 0f471291
#!/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 ...@@ -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 ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment