mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
Fix warning on go 1.5
link: warning: option -X main.gitCommit 6ec13e7e2b may not work in future releases; use -X main.gitCommit=6ec13e7e2bab1ebdb580819a48629055bbbb5fb3
This commit is contained in:
parent
fd512fa12c
commit
a93c267ab4
1 changed files with 1 additions and 1 deletions
|
|
@ -9,5 +9,5 @@ fi
|
|||
|
||||
# set gitCommit when running from a Git checkout.
|
||||
if [ -f ".git/HEAD" ]; then
|
||||
echo "-ldflags '-X main.gitCommit $(git rev-parse HEAD)'"
|
||||
echo "-ldflags '-X main.gitCommit=$(git rev-parse HEAD)'"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue