mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 04:39:34 +02:00
Avoid troubles if svnversion is found twice in SEARCHPATH
git-svn-id: trunk@22430 -
This commit is contained in:
parent
beca39448a
commit
0dc69d5b3e
@ -202,7 +202,7 @@ NOCPUDEF=1
|
|||||||
MSGFILE=msg/error$(FPCLANG).msg
|
MSGFILE=msg/error$(FPCLANG).msg
|
||||||
|
|
||||||
|
|
||||||
SVNVERSION:=$(wildcard $(addsuffix /svnversion$(SRCEXEEXT),$(SEARCHPATH)))
|
SVNVERSION:=$(firstword $(wildcard $(addsuffix /svnversion$(SRCEXEEXT),$(SEARCHPATH))))
|
||||||
# Check if revision.inc is present
|
# Check if revision.inc is present
|
||||||
REVINC:=$(wildcard revision.inc)
|
REVINC:=$(wildcard revision.inc)
|
||||||
ifneq ($(REVINC),)
|
ifneq ($(REVINC),)
|
||||||
|
Loading…
Reference in New Issue
Block a user