[Secure-testing-commits] r1772 - bin

Joey Hess joeyh at costa.debian.org
Thu Sep 1 20:24:57 UTC 2005


Author: joeyh
Date: 2005-09-01 20:24:57 +0000 (Thu, 01 Sep 2005)
New Revision: 1772

Modified:
   bin/checklist
Log:
one more warning


Modified: bin/checklist
===================================================================
--- bin/checklist	2005-09-01 20:13:16 UTC (rev 1771)
+++ bin/checklist	2005-09-01 20:24:57 UTC (rev 1772)
@@ -250,7 +250,7 @@
 foreach my $version (sort keys %needkernel) {
 	my %images;
 	
-	if ($needkern{$version} eq "0") {
+	if (defined $needkern{$version} && $needkern{$version} eq "0") {
 		next;
 	}
 
@@ -288,7 +288,7 @@
 			print OUT "<li>" if ($html && $list_unknown);
 			print OUT "$package built from kernel-source-$version $needkernel{$version} needed, current version unknown\n" if $list_unknown;
 		} elsif (!system("dpkg --compare-versions $needkernel{$version} gt $images{$package}")) {
-		print OUT "<li>" if $html;
+			print OUT "<li>" if $html;
 			print OUT "$package built from kernel-source-$version $needkernel{$version} needed, have $images{$package}\n";
 			$need_rebuild++;
 		}




More information about the Secure-testing-commits mailing list