diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-03-23 15:04:05 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-03-23 15:04:05 -0400 |
commit | 240dc46e8c30caa425156006438af98cce06df84 (patch) | |
tree | 8c2e16c9309911636d827d944219264b056a57e6 /dh | |
parent | 94f711ab1af4966a8c1099578752cddb0345e3db (diff) | |
download | debhelper-240dc46e8c30caa425156006438af98cce06df84.tar.gz |
export write_log
Avoids the ugly thunk in dh
Diffstat (limited to 'dh')
-rwxr-xr-x | dh | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -386,7 +386,7 @@ foreach my $package (@packages) { # no commands remain to run after it, communicating to # future dh instances that the specified command should not # be run again. - writelog($sequence[$startpoint{$package}-1], $package); + write_log($sequence[$startpoint{$package}-1], $package); } elsif ($dh{REMAINING}) { # Start at the beginning so all remaining commands will get @@ -479,15 +479,11 @@ sub run { # been run by the rules file target. my %packages=map { $_ => 1 } @packages; map { delete $packages{$_} } @exclude; - writelog($override_command, keys %packages); + write_log($override_command, keys %packages); } } } -sub writelog { - Debian::Debhelper::Dh_Lib::write_log(@_); -} - { my %targets; my $rules_parsed; |