summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-05-13 00:12:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-05-13 00:12:52 +0000
commitf8188bbf8b30713fef940cc38633d1927486b194 (patch)
tree915b0e5adede9339a3d83692fdba672e4bcb0988
parent6e9a885b259458dfcbd86284a3292e2ba10d6098 (diff)
downloaddrakx-f8188bbf8b30713fef940cc38633d1927486b194.tar
drakx-f8188bbf8b30713fef940cc38633d1927486b194.tar.gz
drakx-f8188bbf8b30713fef940cc38633d1927486b194.tar.bz2
drakx-f8188bbf8b30713fef940cc38633d1927486b194.tar.xz
drakx-f8188bbf8b30713fef940cc38633d1927486b194.zip
allow makefile like variables
-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;
}