mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 01:29:28 +02:00
Avoid troubles with exported directories
This commit is contained in:
parent
123481aa8d
commit
d9ad6bdd1f
@ -633,7 +633,12 @@ REVSTR:=$(REVSTR)-$(word 4,$(subst -, ,$(GITDESCRIBE)))
|
||||
export REVSTR
|
||||
else
|
||||
ifneq ($(SVNVERSION),)
|
||||
REVSTR:=$(subst r,,$(subst r1:,,r$(subst exported,,$(shell $(SVNVERSION) -c .))))
|
||||
SVNVERSTR:=$(shell $(SVNVERSION) -c .)
|
||||
ifneq ($(words $(SVNVERSTR)),1)
|
||||
REVSTR:=$(subst $() $(),_,$(SVNVERSTR))
|
||||
else
|
||||
REVSTR:=$(subst r,,$(subst r1:,,r$(subst exported,,$(SVNVERSTR))))
|
||||
endif
|
||||
export REVSTR
|
||||
endif
|
||||
endif
|
||||
|
@ -357,7 +357,12 @@ REVSTR:=$(REVSTR)-$(word 4,$(subst -, ,$(GITDESCRIBE)))
|
||||
export REVSTR
|
||||
else
|
||||
ifneq ($(SVNVERSION),)
|
||||
REVSTR:=$(subst r,,$(subst r1:,,r$(subst exported,,$(shell $(SVNVERSION) -c .))))
|
||||
SVNVERSTR:=$(shell $(SVNVERSION) -c .)
|
||||
ifneq ($(words $(SVNVERSTR)),1)
|
||||
REVSTR:=$(subst $() $(),_,$(SVNVERSTR))
|
||||
else
|
||||
REVSTR:=$(subst r,,$(subst r1:,,r$(subst exported,,$(SVNVERSTR))))
|
||||
endif
|
||||
export REVSTR
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user