Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
28b7dcc2
Commit
28b7dcc2
authored
Nov 21, 2014
by
Eric Robitaille
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
go get deps doesnt work with develop branch
parent
eba3fca7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
install.sh
install.sh
+11
-7
No files found.
install.sh
View file @
28b7dcc2
...
@@ -28,13 +28,17 @@ echo "changing branch to $branch"
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment