Remove the / from the end of the extension directory. Change the quantifiers on
Nicholas Clark [Wed, 4 Feb 2009 19:52:00 +0000 (19:52 +0000)]
the regexp from * to +.

make_ext.pl

index 97bc08d..c5a9159 100644 (file)
@@ -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/}{};