From: Gurusamy Sarathy Date: Wed, 22 Mar 2000 17:04:01 +0000 (+0000) Subject: avoid including things that aren't directories in inc_version_list X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=79fde4fd198bea404d6ccd16a1f00e0adee6a026;p=p5sagit%2Fp5-mst-13.2.git avoid including things that aren't directories in inc_version_list (from Robin Barker) p4raw-id: //depot/perl@5881 --- diff --git a/Configure b/Configure index 46429ce..f530921 100755 --- a/Configure +++ b/Configure @@ -5546,10 +5546,10 @@ else { foreach $d (@candidates) { if ($d lt $version) { if ($d ge $api_versionstring) { - unshift(@inc_version_list, "$d/$archname", $d); + unshift(@inc_version_list, grep { -d } "$d/$archname", $d); } elsif ($d ge "5.005") { - unshift(@inc_version_list, $d); + unshift(@inc_version_list, grep { -d } $d); } } else {