summaryrefslogtreecommitdiffstats
path: root/tools/install-xml-file-list
diff options
context:
space:
mode:
Diffstat (limited to 'tools/install-xml-file-list')
-rwxr-xr-xtools/install-xml-file-list2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/install-xml-file-list b/tools/install-xml-file-list
index 0cd1fc1cc..df760ae32 100755
--- a/tools/install-xml-file-list
+++ b/tools/install-xml-file-list
@@ -102,7 +102,7 @@ sub expand_macros {
my ($f) = @_;
$f =~ s!\bLIB\b!$LIB!g;
$f =~ s!\bARCH\b!$ARCH!ge;
- $f =~ s!\bREP4PMS\b!$ENV{REP4PMS} || die "REP4PMS undefined\n"!ge;
+ $f =~ s!\$\((\w+)\)!$ENV{$1} || die "$1 undefined\n"!ge;
$f;
}