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 /tools | |
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
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/install-xml-file-list | 2 |
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; } |