Skip to content

Commit

Permalink
Porting/sync-with-cpan: handle weird tarball basedir names
Browse files Browse the repository at this point in the history
This was failing to map new Text::Tabs releases properly because its
distname is Text-Tabs+Wrap and interpolating it into a pattern without
quoting causes the `+` to be misinterpreted as a quantifier.
  • Loading branch information
ap committed Aug 5, 2021
1 parent 4be0692 commit ddda34b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Porting/sync-with-cpan
Expand Up @@ -404,7 +404,7 @@ if ($$info {EXCLUDED}) {

FILE: for my $file ( find_type_f( $new_dir )) {
my $old_file = $file;
$file =~ s{^$new_dir/}{};
$file =~ s{^\Q$new_dir\E/}{};

next if $EXCLUDED_QQ{$file};
for my $qr (@EXCLUDED_QR) {
Expand Down

0 comments on commit ddda34b

Please sign in to comment.