diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-05-13 00:12:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-05-13 00:12:52 +0000 |
commit | f8188bbf8b30713fef940cc38633d1927486b194 (patch) | |
tree | 915b0e5adede9339a3d83692fdba672e4bcb0988 | |
parent | 6e9a885b259458dfcbd86284a3292e2ba10d6098 (diff) | |
download | drakx-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.xml | 2 | ||||
-rwxr-xr-x | tools/install-xml-file-list | 2 |
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; } |