fix CurrentCommit in Makefile

This commit is contained in:
dtynn 2020-01-20 18:22:42 +08:00
parent 4436148fa1
commit 8e90d5fb17

View File

@ -14,7 +14,7 @@ MODULES:=
CLEAN:= CLEAN:=
BINS:= BINS:=
GOFLAGS+=-ldflags='-X="github.com/filecoin-project/lotus/build".CurrentCommit=+git$(subst -,.,$(shell git describe --always --match=NeVeRmAtCh --dirty 2>/dev/null || git rev-parse --short HEAD 2>/dev/null))' GOFLAGS+=-ldflags="-X="github.com/filecoin-project/lotus/build".CurrentCommit=+git$(subst -,.,$(shell git describe --always --match=NeVeRmAtCh --dirty 2>/dev/null || git rev-parse --short HEAD 2>/dev/null))"
## FFI ## FFI