Update git.mk

Fix "dirty" files.
This commit is contained in:
r3df0xx
2022-05-08 15:14:34 +03:00
parent e63cd3ea3b
commit d68bd32ba0
+1 -1
View File
@@ -4,7 +4,7 @@ GIT_BRANCH_NUM := $(shell git rev-list --count HEAD || echo 'nan')
BUILD_DATE := $(shell date '+%d-%m-%Y' || echo 'unknown')
BUILD_TIME := $(shell date '+%H:%M:%S' || echo 'unknown')
VERSION := $(shell git describe --tags --abbrev=0 --exact-match 2>/dev/null || echo 'unknown')
GIT_DIRTY_BUILD := $(shell git diff --quiet ; echo $$?)
GIT_DIRTY_BUILD := $(shell echo 0)
GIT_DIRTY_SUFFIX :=
ifeq ($(GIT_DIRTY_BUILD), 1)