From: Nicholas Clark Date: Wed, 4 Feb 2009 19:52:00 +0000 (+0000) Subject: Remove the / from the end of the extension directory. Change the quantifiers on X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c5aac6ab2185ab7d2daf43bdd9b22939121004c6;p=p5sagit%2Fp5-mst-13.2.git Remove the / from the end of the extension directory. Change the quantifiers on the regexp from * to +. --- diff --git a/make_ext.pl b/make_ext.pl index 97bc08d..c5a9159 100644 --- a/make_ext.pl +++ b/make_ext.pl @@ -79,7 +79,7 @@ foreach (@extspec) { if (/^lib/) { # Remove lib/auto prefix and /*.* suffix s{^lib/auto/}{}; - s{[^/]*\.[^/]*$}{}; + s{/[^/]+\.[^/]+$}{}; } elsif (/^ext/) { # Remove ext/ prefix and /pm_to_blib suffix s{^ext/}{};