From fae1af826feacb5c14cf7998f1f9686fc043fa05 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Thu, 14 Oct 2010 15:30:47 +0100 Subject: [PATCH] Remove the code for file exclusions from Maintainers.pm - nothing needs it now. --- Porting/Maintainers.pm | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Porting/Maintainers.pm b/Porting/Maintainers.pm index 187e38b..51c847f 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); } -- 2.7.4