summaryrefslogtreecommitdiff
path: root/lib/Debian/Debhelper/Dh_Getopt.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Debian/Debhelper/Dh_Getopt.pm')
-rw-r--r--lib/Debian/Debhelper/Dh_Getopt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Debian/Debhelper/Dh_Getopt.pm b/lib/Debian/Debhelper/Dh_Getopt.pm
index ea8dfa88..5486c416 100644
--- a/lib/Debian/Debhelper/Dh_Getopt.pm
+++ b/lib/Debian/Debhelper/Dh_Getopt.pm
@@ -276,7 +276,7 @@ sub parseopts {
my (@package_list, $package, %packages_seen);
foreach $package (@{$dh{DOPACKAGES}}) {
if (defined($dh{EXCLUDE_LOGGED}) &&
- grep { $_ eq basename($0) } load_log($package)) {
+ grep { $_ eq $Debian::Debhelper::Dh_Lib::TOOL_NAME } load_log($package)) {
$exclude_package{$package}=1;
}
if (! $exclude_package{$package}) {