summaryrefslogtreecommitdiff
path: root/dh_builddeb
diff options
context:
space:
mode:
authorjoey <joey>2000-11-06 00:23:51 +0000
committerjoey <joey>2000-11-06 00:23:51 +0000
commit47587e5a2f0fe23af3da54bf8621643881f56bdc (patch)
tree806e39554d06e15ab60daf37a30f0b95a1450e55 /dh_builddeb
parente832acd1f52e8aa5e23aee08ad047704780b182a (diff)
r381: * dh_builddeb: Ok, it is cosmetic, but it annoyed me.
Diffstat (limited to 'dh_builddeb')
-rwxr-xr-xdh_builddeb5
1 files changed, 4 insertions, 1 deletions
diff --git a/dh_builddeb b/dh_builddeb
index 15f4e39..3d3725a 100755
--- a/dh_builddeb
+++ b/dh_builddeb
@@ -13,8 +13,11 @@ if (! defined $dh{DESTDIR}) {
if (! defined $dh{FILENAME}) {
$dh{FILENAME}='';
}
+else {
+ $dh{FILENAME}="/$dh{FILENAME}";
+}
foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
$TMP=tmpdir($PACKAGE);
- doit("dpkg","--build",$TMP,"$dh{DESTDIR}/$dh{FILENAME}",@{$dh{U_PARAMS}});
+ doit("dpkg","--build",$TMP,"$dh{DESTDIR}$dh{FILENAME}",@{$dh{U_PARAMS}});
}