mirror of
git://repo.or.cz/tinycc.git
synced 2026-07-02 17:38:40 +08:00
Test was inverted for locally modified version
This commit is contained in:
parent
bdaccc2898
commit
ffbf6c26b2
2
Makefile
2
Makefile
@ -245,7 +245,7 @@ FROM_GIT := $(shell git rev-parse >/dev/null 2>&1 && echo yes || echo no)
|
|||||||
|
|
||||||
ifeq ($(FROM_GIT),yes)
|
ifeq ($(FROM_GIT),yes)
|
||||||
GITHASH:=$(shell git rev-parse --abbrev-ref HEAD):$(shell git rev-parse --short HEAD) $(shell git log -1 --pretty='format:%cI')
|
GITHASH:=$(shell git rev-parse --abbrev-ref HEAD):$(shell git rev-parse --short HEAD) $(shell git log -1 --pretty='format:%cI')
|
||||||
GITLOCAL:=$(shell git diff --quiet && echo ' locally modified')
|
GITLOCAL:=$(shell git diff --quiet || echo ' locally modified')
|
||||||
DEF_GITHASH:= -DTCC_GITHASH="\"$(GITHASH)$(GITLOCAL)\""
|
DEF_GITHASH:= -DTCC_GITHASH="\"$(GITHASH)$(GITLOCAL)\""
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user