summaryrefslogtreecommitdiff
path: root/make_ext.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-04 19:52:00 +0000
committerNicholas Clark <nick@ccl4.org>2009-02-04 19:52:00 +0000
commitc5aac6ab2185ab7d2daf43bdd9b22939121004c6 (patch)
treec0fba979c730b6c96f46ce6d74cf0e160e57eb97 /make_ext.pl
parente08c66ce3962dd9ec38a7094a11b5e4bc2376c00 (diff)
downloadperl-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.pl2
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/}{};