diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-09-03 00:18:04 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-09-03 00:18:04 +0200 |
commit | b6d64af77e176c13c9a04022ef575696dfe7dc20 (patch) | |
tree | 0f8b25dafb86ee511cfb39b44b4c116f6901f228 /gendistrib | |
parent | b08146ee30790cff6efff93c7bb8e05bd8bc3339 (diff) | |
download | rpmtools-b6d64af77e176c13c9a04022ef575696dfe7dc20.tar rpmtools-b6d64af77e176c13c9a04022ef575696dfe7dc20.tar.gz rpmtools-b6d64af77e176c13c9a04022ef575696dfe7dc20.tar.bz2 rpmtools-b6d64af77e176c13c9a04022ef575696dfe7dc20.tar.xz rpmtools-b6d64af77e176c13c9a04022ef575696dfe7dc20.zip |
fix regexp for newer perl
The error was:
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/%{ <-- HERE ARCH}/ at /usr/bin/gendistrib line 126.
Diffstat (limited to 'gendistrib')
-rwxr-xr-x | gendistrib | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -123,7 +123,7 @@ foreach my $d ($infodir, map { "$_->{path}/media_info" } @hdlists) { } foreach my $e (@hdlists) { - if ($e->{dir} =~ /%{ARCH}/) { + if ($e->{dir} =~ /%\{ARCH\}/) { die "sorry, %{ARCH} not supported anymore\n"; } @{$e->{files}} = glob("$root/$e->{dir}/*.rpm") or do { |