# Generate a report of the release-critical bugs for packages
use Getopt::Std;
-require scanlib;
-require bugcfg;
+use File::Basename;
+use lib dirname(__FILE__);
+use bugcfg;
+use scanlib;
use strict;
use warnings;
}
-sub MakeStatistics() {
+sub MakeStatistics {
my $bugcount=0; # Total number of bugs so far
my $patchtotal=0; # Total number of bugs marked patch
my $pendingtotal=0; # Total number of bugs marked pending
FilterBugsStable() if ($opt_b);
FilterBugs() if ($opt_t);
-MakeStatistics if ($opt_s);
+MakeStatistics() if ($opt_s);
if ($opt_l) {
MakeBuglist();
}