]> err.no Git - dpkg/commitdiff
* scripts/dpkg-checkbuilddeps.pl ($control): Remove redundant
authorGuillem Jover <guillem@debian.org>
Tue, 3 Apr 2007 02:27:28 +0000 (02:27 +0000)
committerGuillem Jover <guillem@debian.org>
Tue, 3 Apr 2007 02:27:28 +0000 (02:27 +0000)
variable.

ChangeLog
scripts/dpkg-checkbuilddeps.pl

index 33839cb0b6f823f0318f2bc6609cc72a04b09f8b..e921ca8c25d20e685d2342ae379c16100ed1fa29 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-03  Guillem Jover  <guillem@debian.org>
+
+       * scripts/dpkg-checkbuilddeps.pl ($control): Remove redundant
+       variable.
+
 2007-04-03  Guillem Jover  <guillem@debian.org>
 
        * scripts/dpkg-source.pl (fieldimps): Add 'Uploaders'.
index d367efd63818870b5e129b60914cd955f4ff1773..9383744060717cb585005f0c466ecb9d7accdb94 100755 (executable)
@@ -7,7 +7,6 @@ use Getopt::Long;
 my $dpkglibdir="/usr/lib/dpkg";
 my $admindir = "/var/lib/dpkg";
 push(@INC,$dpkglibdir);
-#my $controlfile;
 require 'controllib.pl';
 
 require 'dpkg-gettext.pl';
@@ -39,8 +38,7 @@ if ($want_help) {
        exit(0);
 }
 
-my $control=shift || "debian/control";
-$controlfile=$control;
+my $controlfile = shift || "debian/control";
 
 parsecontrolfile($controlfile);