summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Ragwitz <rafl@debian.org>2011-07-07 15:42:26 +0200
committerFlorian Ragwitz <rafl@debian.org>2011-07-07 15:55:03 +0200
commitd8d7ae6469c0196eef4d10482329c6aded9eb169 (patch)
tree0a31a5cde335304a91b830476dd5ae613caaae5e
parentc2636609dfc9a5a428a72ebf40bcec53a00d53b8 (diff)
downloadperl-d8d7ae6469c0196eef4d10482329c6aded9eb169.tar.gz
Don't filter out non-existent Maintainers.pl entries
-rw-r--r--Porting/Maintainers.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Porting/Maintainers.pm b/Porting/Maintainers.pm
index d4bd4a87c7..f1016b44eb 100644
--- a/Porting/Maintainers.pm
+++ b/Porting/Maintainers.pm
@@ -81,9 +81,11 @@ sub expand_glob {
}, $_);
@files;
}
+ # Not a glob, but doesn't exist
+ : $_ !~ /[*?{]/ ? $_
# The rest are globbable patterns; expand the glob, then
# recursively perform directory expansion on any results
- : expand_glob(grep -e $_,glob($_))
+ : expand_glob(glob($_))
} @_;
}