소스 검색

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

git-svn-id: trunk@34899 -
pierre 8 년 전
부모
커밋
a82a134be8
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      compiler/Makefile
  2. 1 1
      compiler/Makefile.fpc

+ 1 - 1
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)

+ 1 - 1
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)