summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Porting/Maintainers.pm12
1 files changed, 1 insertions, 11 deletions
diff --git a/Porting/Maintainers.pm b/Porting/Maintainers.pm
index 187e38b68e..51c847f4af 100644
--- a/Porting/Maintainers.pm
+++ b/Porting/Maintainers.pm
@@ -89,17 +89,7 @@ sub expand_glob {
sub get_module_files {
my $m = shift;
- my %exclude;
- my @files;
- for (get_module_pat($m)) {
- if (s/^!//) {
- $exclude{$_}=1 for expand_glob($_);
- }
- else {
- push @files, expand_glob($_);
- }
- }
- return grep !$exclude{$_}, @files;
+ return map { expand_glob($_) } get_module_pat($m);
}