summaryrefslogtreecommitdiff
path: root/dh_install
diff options
context:
space:
mode:
Diffstat (limited to 'dh_install')
-rwxr-xr-xdh_install3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh_install b/dh_install
index 624c88b..47c00db 100755
--- a/dh_install
+++ b/dh_install
@@ -9,6 +9,7 @@ dh_install - install files into package build directories
use strict;
use File::Find;
use Debian::Debhelper::Dh_Lib;
+use Cwd q{abs_path};
=head1 SYNOPSIS
@@ -175,7 +176,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
if (-d $src && $exclude) {
- my ($dir_basename) = basename($src);
+ my ($dir_basename) = basename(abs_path($src));
# Pity there's no cp --exclude ..
my $pwd=`pwd`;
chomp $pwd;