summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-03-23 15:04:05 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-03-23 15:04:05 -0400
commit240dc46e8c30caa425156006438af98cce06df84 (patch)
tree8c2e16c9309911636d827d944219264b056a57e6 /dh
parent94f711ab1af4966a8c1099578752cddb0345e3db (diff)
export write_log
Avoids the ugly thunk in dh
Diffstat (limited to 'dh')
-rwxr-xr-xdh8
1 files changed, 2 insertions, 6 deletions
diff --git a/dh b/dh
index ab7ddb0..f557a63 100755
--- a/dh
+++ b/dh
@@ -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;