X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=make-britney-counts;h=955dc9370443c8770f6daa9e7bf8fbeb53fd3fb0;hp=a603b801d6cd0ce306712c8d99d91f22797cbf1b;hb=c173b2a5fe3eb12f77453383e709c4086e38fdc0;hpb=01a709e185f5e8f2b059293c3a770a28b28df927 diff --git a/make-britney-counts b/make-britney-counts index a603b80..955dc93 100755 --- a/make-britney-counts +++ b/make-britney-counts @@ -4,8 +4,10 @@ # Generate a report britney can use use Getopt::Std; -require scanlib; -require bugcfg; +use File::Basename; +use lib dirname(__FILE__); +use bugcfg; +use scanlib; use strict; # use warnings; @@ -48,7 +50,7 @@ while (my ($nr, $bug) = each %scanlib::bugs) { # 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)) {