[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#517555: lintian: fails to parse Arch all field with trailing white space



On Sat, Feb 28, 2009 at 04:06:03PM +0000, Debian Bug Tracking System wrote:

Another similar patch:

--- a/checks/fields
+++ b/checks/fields
@@ -613,7 +613,7 @@ if ($type eq "source") {
        my $arch_dep_packages = 0;
        foreach my $binpkg (keys %$binpkgs) {
                my $arch = $info->binary_field($binpkg, 'architecture');
-               if ($arch eq 'all') {
+               if ($arch =~ /^all\s*$/) {
                        $arch_indep_packages++;
                } else {
                        $arch_dep_packages++;

Attachment: signature.asc
Description: Digital signature


Reply to: