summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Dh_Lib.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Debian/Debhelper/Dh_Lib.pm')
-rw-r--r--Debian/Debhelper/Dh_Lib.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index dceec786..c83e42b2 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -115,7 +115,7 @@ sub END {
my $cmd=basename($0);
# dh_clean deletes the log, so should not recreate it at
# the end
- if ($cmd ne "dh_clean") {
+ if ($cmd ne "dh_clean" && $cmd ne "dh") {
foreach my $package (@{$dh{DOPACKAGES}}) {
my $ext=pkgext($package);
open(LOG, ">>", "debian/${ext}debhelper.log") || error("failed to write to log");