summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/share/list.xml2
-rwxr-xr-xtools/install-xml-file-list2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/share/list.xml b/perl-install/share/list.xml
index 59e798352..6a2dae1b2 100644
--- a/perl-install/share/list.xml
+++ b/perl-install/share/list.xml
@@ -279,7 +279,7 @@
</filter>
<from dir=".">
- <to dir="REP4PMS">
+ <to dir="$(REP4PMS)">
<filter command="strip">
<from expand="command">
find auto -follow -name "*.so"
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;
}