* Set REVSTR to empty if 'svnversion -c .' outputs 'exported'

git-svn-id: trunk@34899 -
This commit is contained in:
pierre 2016-11-14 10:57:49 +00:00
parent e1e3ad15f0
commit a82a134be8
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)