summaryrefslogtreecommitdiffstats
path: root/tools/install-xml-file-list
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-08-09 07:03:37 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-08-09 07:20:20 +0200
commit87885f736d93f47c93edb0374237f06e7a392ae9 (patch)
tree788476324ba4235c612bc1ed92db008bbbc7805b /tools/install-xml-file-list
parent77beb407f5520cc7c0ffcb8c14dd3a34fd8cad41 (diff)
downloaddrakx-87885f736d93f47c93edb0374237f06e7a392ae9.tar
drakx-87885f736d93f47c93edb0374237f06e7a392ae9.tar.gz
drakx-87885f736d93f47c93edb0374237f06e7a392ae9.tar.bz2
drakx-87885f736d93f47c93edb0374237f06e7a392ae9.tar.xz
drakx-87885f736d93f47c93edb0374237f06e7a392ae9.zip
adapt to perl 5.28: fix including stuff from pkgs
need to expand macro when using "matching"
Diffstat (limited to 'tools/install-xml-file-list')
-rwxr-xr-xtools/install-xml-file-list2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/install-xml-file-list b/tools/install-xml-file-list
index 5372e7258..0fc8f7a76 100755
--- a/tools/install-xml-file-list
+++ b/tools/install-xml-file-list
@@ -232,7 +232,7 @@ sub install {
@l = all_files_rec_($l[0]);
}
@l = grep { !m!/(\.svn|CVS)($|/)! } @l;
- if (my $re = $env->{from}{matching}) {
+ if (my $re = expand_macros($env->{from}{matching})) {
@l = grep { eval $re } @l;
}