[SCM] Debian package checker branch, master, updated. 2.3.0-15-g8b74548
The following commit has been merged in the master branch:
commit 022b5f051c84c2efadba708dcad9674ae93a8489
Author: Raphael Geissert <atomo64@gmail.com>
Date: Tue Sep 1 23:12:21 2009 -0500
Don't treat 0 as undef when parsing collection/*.desc files
diff --git a/frontend/lintian b/frontend/lintian
index dce3e23..9951892 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1023,7 +1023,7 @@ if (not $check_everything and not $packages_file and not $schedule->count) {
# Check to make sure there are packages to check.
sub set_value {
my ($f,$target,$field,$source,$required) = @_;
- if ($required and not $source->{$field}) {
+ if ($required and not defined($source->{$field})) {
fail("description file $f does not define required tag $field");
}
$target->{$field} = $source->{$field};
--
Debian package checker
Reply to: