lintian: r1011 - trunk/checks
Author: he
Date: 2007-12-01 12:17:56 +0100 (Sat, 01 Dec 2007)
New Revision: 1011
Modified:
trunk/checks/rules
Log:
Fix stupid mistake with missing targets
Modified: trunk/checks/rules
===================================================================
--- trunk/checks/rules 2007-12-01 09:30:00 UTC (rev 1010)
+++ trunk/checks/rules 2007-12-01 11:17:56 UTC (rev 1011)
@@ -122,7 +122,7 @@
}
# Make sure we have no content for binary-arch if we are arch-indep:
-if ($architecture eq "all" && scalar @{$rules_per_target{'binary-arch'}}) {
+if ($architecture eq "all" && scalar @{$rules_per_target{'binary-arch'} || []}) {
tag "binary-arch-rules-but-pkg-is-arch-indep";
}
}
Reply to: