From d8d7ae6469c0196eef4d10482329c6aded9eb169 Mon Sep 17 00:00:00 2001 From: Florian Ragwitz Date: Thu, 7 Jul 2011 15:42:26 +0200 Subject: [PATCH] Don't filter out non-existent Maintainers.pl entries --- Porting/Maintainers.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Porting/Maintainers.pm b/Porting/Maintainers.pm index d4bd4a8..f1016b4 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($_)) } @_; } -- 2.7.4