From 837ccf464c054d5935b3b6ae5a36adf9b1f3c0b6 Mon Sep 17 00:00:00 2001 From: Achim Gratz Date: Thu, 17 May 2012 10:40:54 +0200 Subject: [PATCH] avoid accumulation of the ".dirty" suffix on $(GITVERSION) during sub-make invocations * targets.mk: Strip ".dirty" suffix from $(GITVERSION) before potentially re-adding it, to avoid accumulation of the suffix during sub-make invocations. --- targets.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets.mk b/targets.mk index b87939e1c..14e928d6a 100644 --- a/targets.mk +++ b/targets.mk @@ -19,7 +19,7 @@ else endif DATE = $(shell date +%Y-%m-%d) ifneq ($(GITSTATUS),) - GITVERSION := $(GITVERSION).dirty + GITVERSION := $(GITVERSION:.dirty=).dirty endif .PHONY: all oldorg update update2 up0 up1 up2 compile $(SUBDIRS) \ -- 2.11.4.GIT