From ffbf6c26b24c15001e5fbf905fa821ddae19ed91 Mon Sep 17 00:00:00 2001 From: Christian Jullien Date: Fri, 2 Dec 2022 08:40:12 +0100 Subject: [PATCH] Test was inverted for locally modified version --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 18d70727..f932edc1 100644 --- a/Makefile +++ b/Makefile @@ -245,7 +245,7 @@ FROM_GIT := $(shell git rev-parse >/dev/null 2>&1 && echo yes || echo no) 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') -GITLOCAL:=$(shell git diff --quiet && echo ' locally modified') +GITLOCAL:=$(shell git diff --quiet || echo ' locally modified') DEF_GITHASH:= -DTCC_GITHASH="\"$(GITHASH)$(GITLOCAL)\"" endif