]> git.donarmstrong.com Git - debhelper.git/commitdiff
don't log dh runs
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 24 Apr 2008 01:35:14 +0000 (21:35 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 24 Apr 2008 01:35:14 +0000 (21:35 -0400)
Debian/Debhelper/Dh_Lib.pm

index dceec786e335316f6822b4e4bc0ab085392e4b64..c83e42b266aa20f64284399c65610f0604100ca1 100644 (file)
@@ -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");