summaryrefslogtreecommitdiff
path: root/dh_install
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-07-02 12:17:39 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-07-02 12:17:39 -0400
commita19087a965f37c7aa81f5dcfc417664a2875c734 (patch)
tree2045c32ca5c6a3c2557bc9244eef4542730adc6b /dh_install
parent9089acf8dcc683db171f1f5be12c9424cf89aa6f (diff)
dh_install: Fix installation of entire top-level directory from debian/tmp. Closes: #535367
This was broken by the slash removal fix in e45749314e98a3304b1f845884ac50327c29cc10. Of course those unnecessary slashes were actually necessary for dirname to DTRT.
Diffstat (limited to 'dh_install')
-rwxr-xr-xdh_install2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_install b/dh_install
index 1ea2c708..2a5a5911 100755
--- a/dh_install
+++ b/dh_install
@@ -167,7 +167,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# Guess at destination directory.
$dest=$src;
$dest=~s/^(.*\/)?(\Q$srcdir\E|debian\/tmp)\///;
- $dest=dirname($dest);
+ $dest=dirname("/".$dest);
$tmpdest=1;
}