summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rwxr-xr-xdh_builddeb5
2 files changed, 10 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 57c65a44..6a4f994a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+debhelper (2.1.19) unstable; urgency=low
+
+ * dh_builddeb: Ok, it is cosmetic, but it annoyed me.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 5 Nov 2000 16:20:46 -0800
+
debhelper (2.1.18) unstable; urgency=low
* dh_builddeb: added a --filename option to specify the output filename.
diff --git a/dh_builddeb b/dh_builddeb
index 15f4e397..3d3725ac 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}});
}