|
|
@ -28,13 +28,17 @@ echo "changing branch to $branch" |
|
|
|
cd $GOPATH/src/github.com/ethereum/go-ethereum |
|
|
|
cd $GOPATH/src/github.com/ethereum/go-ethereum |
|
|
|
git checkout $branch |
|
|
|
git checkout $branch |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# installing package dependencies doesn't work for develop |
|
|
|
echo "go get -u -d github.com/ethereum/go-ethereum/$path" |
|
|
|
# branch as go get always pulls from master head |
|
|
|
go get -v -u -d github.com/ethereum/go-ethereum/$path |
|
|
|
# so build will continue to fail, but this installs locally |
|
|
|
if [ $? != 0 ]; then |
|
|
|
# for people who git clone since go install will manage deps |
|
|
|
echo "go get failed" |
|
|
|
|
|
|
|
exit |
|
|
|
#echo "go get -u -d github.com/ethereum/go-ethereum/$path" |
|
|
|
fi |
|
|
|
#go get -v -u -d github.com/ethereum/go-ethereum/$path |
|
|
|
|
|
|
|
#if [ $? != 0 ]; then |
|
|
|
|
|
|
|
# echo "go get failed" |
|
|
|
|
|
|
|
# exit |
|
|
|
|
|
|
|
#fi |
|
|
|
|
|
|
|
|
|
|
|
cd $GOPATH/src/github.com/ethereum/go-ethereum/$path |
|
|
|
cd $GOPATH/src/github.com/ethereum/go-ethereum/$path |
|
|
|
|
|
|
|
|
|
|
|