X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=make-britney-counts;h=955dc9370443c8770f6daa9e7bf8fbeb53fd3fb0;hp=2fc765673f26c36d3f95886ab94d87cb9b251792;hb=c173b2a5fe3eb12f77453383e709c4086e38fdc0;hpb=c0f4a4d5ce63338390dfd851c4b403769266d0d7 diff --git a/make-britney-counts b/make-britney-counts index 2fc7656..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->{'wheezy-ignore'}) { + if (scanlib::check_worry_unstable($bug) and not $bug->{$bugcfg::debian_releases->{testing}.'-ignore'}) { push @{$unstablebugs{$package}}, $nr; } if (scanlib::check_worry($bug)) {