]> git.donarmstrong.com Git - bugscan.git/blobdiff - make-britney-counts
bugscan now uses basename
[bugscan.git] / make-britney-counts
index b67d1325e906e9ba416d816488bd727e3bffb585..1c5705584b62d075e1e4b6d521a23643797eb28c 100755 (executable)
@@ -44,11 +44,11 @@ my %unstablebugs = ();
 while (my ($nr, $bug) = each %scanlib::bugs) {
        for my $package (split /[,\s]+/, $bug->{'package'}) {
                $package =~ y/A-Z/a-z/;
-               $package = $` if ($package =~ /[^-+._a-z0-9]/);
+               $package = $` if ($package =~ /[^-+._:a-z0-9]/);
 
                # this hack is specific to britney counts, and ignores
                # bugs tagged ignore for the next testing release
-               if (scanlib::check_worry_unstable($bug) and not $bug->{'squeeze-ignore'}) {
+               if (scanlib::check_worry_unstable($bug) and not $bug->{$bugcfg::debian_releases->{testing}.'-ignore'}) {
                        push @{$unstablebugs{$package}}, $nr;
                }
                if (scanlib::check_worry($bug)) {