diff options
Diffstat (limited to 'installperl')
-rwxr-xr-x | installperl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/installperl b/installperl index 59c9c52ea8..6f4a3691e8 100755 --- a/installperl +++ b/installperl @@ -163,6 +163,10 @@ find(sub { { my($path, $modname) = ($1,$2); + # Change hypenated name like Filter-Util-Call to nested + # directory name Filter/Util/Call + $path =~ s{-}{/}g; + # strip to optional "/lib", or remove trailing component $path =~ s{.*/lib\b}{} or $path =~ s{/[^/]*$}{}; |