summaryrefslogtreecommitdiff
path: root/dh_perl
diff options
context:
space:
mode:
Diffstat (limited to 'dh_perl')
-rwxr-xr-xdh_perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_perl b/dh_perl
index 1a0876e9..dcdf589b 100755
--- a/dh_perl
+++ b/dh_perl
@@ -141,7 +141,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# MakeMaker always makes lib and share dirs, but typically
# only one directory is installed into.
- foreach my $dir ("$tmp/usr/share/perl5", "$tmp/usr/lib/perl5") {
+ foreach my $dir ("$tmp/$vendorlib", "$tmp/$vendorarch") {
if (-d $dir) {
doit("rmdir", "--ignore-fail-on-non-empty", "--parents",
"$dir");