From f8188bbf8b30713fef940cc38633d1927486b194 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 13 May 2005 00:12:52 +0000 Subject: allow makefile like variables --- tools/install-xml-file-list | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/install-xml-file-list') 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; } -- cgit v1.2.1