projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b2227e
)
Fix a thinko in filtering excluded module files
author
Florian Ragwitz
<rafl@debian.org>
Wed, 6 Jul 2011 14:54:06 +0000
(16:54 +0200)
committer
Florian Ragwitz
<rafl@debian.org>
Wed, 6 Jul 2011 15:35:11 +0000
(17:35 +0200)
If we got a regexp ref, use it as it. Otherwise quote the string in a regexp.
Porting/Maintainers.pm
patch
|
blob
|
history
diff --git
a/Porting/Maintainers.pm
b/Porting/Maintainers.pm
index 7969af7dfd58953840b6c9fdd5e7d50eafecaf64..6c5b8c256e5a2a4b3433cc9a0d652f596b73e579 100644
(file)
--- a/
Porting/Maintainers.pm
+++ b/
Porting/Maintainers.pm
@@
-22,7
+22,7
@@
use vars qw(@ISA @EXPORT_OK $VERSION);
show_results process_options files_to_modules
finish_tap_output
reload_manifest);
-$VERSION = 0.0
5
;
+$VERSION = 0.0
6
;
require Exporter;
@@
-94,7
+94,7
@@
sub filter_excluded {
unless my $excluded = $Modules{$m}{EXCLUDED};
my ($pat) = map { qr/$_/ } join '|' => map {
- ref $_ ?
qr/\Q$_\E/ : $_
+ ref $_ ?
$_ : qr/\Q$_\E/
} @{ $excluded };
return grep { $_ !~ $pat } @files;