From a82a134be8747651770a98e989a08e95eee757db Mon Sep 17 00:00:00 2001 From: pierre Date: Mon, 14 Nov 2016 10:57:49 +0000 Subject: [PATCH] * Set REVSTR to empty if 'svnversion -c .' outputs 'exported' git-svn-id: trunk@34899 - --- compiler/Makefile | 2 +- compiler/Makefile.fpc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/Makefile b/compiler/Makefile index fdd1fd88fb..9e77626d8e 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -485,7 +485,7 @@ ifneq ($(REVINC),) override LOCALOPT+=-dREVINC ifeq ($(REVSTR),) ifneq ($(SVNVERSION),) -REVSTR:=$(subst r,,$(subst r1:,,r$(shell $(SVNVERSION) -c .))) +REVSTR:=$(subst r,,$(subst r1:,,r$(subst exported,,$(shell $(SVNVERSION) -c .)))) export REVSTR else ifeq ($(REVINC),force) diff --git a/compiler/Makefile.fpc b/compiler/Makefile.fpc index 5ce061cd48..5cb83b174c 100644 --- a/compiler/Makefile.fpc +++ b/compiler/Makefile.fpc @@ -227,7 +227,7 @@ override LOCALOPT+=-dREVINC # svnversion executable is available ifeq ($(REVSTR),) ifneq ($(SVNVERSION),) -REVSTR:=$(subst r,,$(subst r1:,,r$(shell $(SVNVERSION) -c .))) +REVSTR:=$(subst r,,$(subst r1:,,r$(subst exported,,$(shell $(SVNVERSION) -c .)))) export REVSTR else ifeq ($(REVINC),force)