+2007-09-24 Guillem Jover <guillem@debian.org>
+
+ * scripts/dpkg-buildpackage.pl ($warnable_errors): Rename to ...
+ ($warnable_error): ... this, and declare as 'our'.
+
2007-09-23 Frank Lichtenheld <djpig@debian.org>
* scripts/dpkg-buildpackage.pl: Add new option
push (@INC, $dpkglibdir);
require 'controllib.pl';
+our $warnable_error;
+
textdomain("dpkg-dev");
sub showversion {
}
my ($admindir, $signkey, $forcesigninterface, $usepause, $noclean,
- $warnable_errors, $sourcestyle, $cleansource,
+ $sourcestyle, $cleansource,
$binaryonly, $sourceonly, $since, $maint,
$changedby, $desc, $parallel);
my (@checkbuilddep_args, @passopts, @tarignore);
} elsif (/^-C(.*)$/) {
$desc = $1;
} elsif (/^-W$/) {
- $warnable_errors = 1;
+ $warnable_error = 1;
push @passopts, '-W';
} elsif (/^-E$/) {
- $warnable_errors = 0;
+ $warnable_error = 0;
push @passopts, '-E';
} else {
usageerr(sprintf(_g("unknown option or argument %s"), $_));