[SCM] Debian package checker branch, master, updated. 2.2.0-4-g5c60012
The following commit has been merged in the master branch:
commit d85929d96bb021fad042d6107e59adf0d0c944a7
Author: Raphael Geissert <atomo64@gmail.com>
Date: Sun Jan 25 14:03:21 2009 -0600
checks/cruft cleanup
Remove unused variable and make a variable that should be local local, not
global.
Signed-off-by: Raphael Geissert <atomo64@gmail.com>
diff --git a/checks/cruft b/checks/cruft
index c10a4bb..adb82a6 100644
--- a/checks/cruft
+++ b/checks/cruft
@@ -73,8 +73,6 @@ my @file_checks =
[ qr,((^|/)\.[^/]+\.swp|~)$, => 'editor-backup-file', 1 ],
);
-my $dir;
-my $atdinbd;
sub run {
@@ -109,7 +107,7 @@ if (defined $info->field('architecture')) {
# I'm not thrilled with having the automake exception as well, but people do
# depend on autoconf and automake and then use autoreconf to update
# config.guess and config.sub, and automake depends on autotools-dev.
-$atdinbd = 0;
+my $atdinbd = 0;
if (defined $info->field('build-depends')) {
my $bd = $info->field('build-depends');
$atdinbd = 1 if Dep::implies(Dep::parse($bd), Dep::parse($autotools_pkgs));
--
Debian package checker
Reply to: