* avoid mixed revision information 1:realrevision in revision.inc for fpcbuild checkout

git-svn-id: trunk@29673 -
This commit is contained in:
Tomas Hajny 2015-02-12 00:05:45 +00:00
parent a02344e978
commit 01441be35c
2 changed files with 2 additions and 2 deletions

View File

@ -477,7 +477,7 @@ ifneq ($(REVINC),)
override LOCALOPT+=-dREVINC
ifeq ($(REVSTR),)
ifneq ($(SVNVERSION),)
REVSTR:=$(shell $(SVNVERSION) -c .)
REVSTR:=$(subst r,,$(subst r1:,,r$(shell $(SVNVERSION) -c .)))
export REVSTR
else
ifeq ($(REVINC),force)

View File

@ -225,7 +225,7 @@ override LOCALOPT+=-dREVINC
# svnversion executable is available
ifeq ($(REVSTR),)
ifneq ($(SVNVERSION),)
REVSTR:=$(shell $(SVNVERSION) -c .)
REVSTR:=$(subst r,,$(subst r1:,,r$(shell $(SVNVERSION) -c .)))
export REVSTR
else
ifeq ($(REVINC),force)