From: Don Armstrong Date: Tue, 1 Sep 2009 01:07:54 +0000 (-0700) Subject: tweak search for undefined archs to include the "" bit X-Git-Tag: release/2.6.0~440^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=adec0833807887fefa4520005e764201fcdfdfab;p=debbugs.git tweak search for undefined archs to include the "" bit --- diff --git a/Debbugs/Packages.pm b/Debbugs/Packages.pm index 47c37f9..9a632fc 100644 --- a/Debbugs/Packages.pm +++ b/Debbugs/Packages.pm @@ -168,7 +168,7 @@ sub binarytosource { return keys %uniq; } elsif (exists $binary{$binver}) { - if (defined $binarch) { + if (defined $binarch and length $binarch) { my $src = $binary{$binver}{$binarch}; if (not defined $src and exists $binary{$binver}{all}) { $src = $binary{$binver}{all};