diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-02-04 19:52:00 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-02-04 19:52:00 +0000 |
commit | c5aac6ab2185ab7d2daf43bdd9b22939121004c6 (patch) | |
tree | c0fba979c730b6c96f46ce6d74cf0e160e57eb97 /make_ext.pl | |
parent | e08c66ce3962dd9ec38a7094a11b5e4bc2376c00 (diff) | |
download | perl-c5aac6ab2185ab7d2daf43bdd9b22939121004c6.tar.gz |
Remove the / from the end of the extension directory. Change the quantifiers on
the regexp from * to +.
Diffstat (limited to 'make_ext.pl')
-rw-r--r-- | make_ext.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make_ext.pl b/make_ext.pl index 97bc08d2eb..c5a91599cd 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/}{}; |