X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=make-britney-counts;h=648ec2f6a5720d7d2a7c0a349fef2b6ff602679e;hp=9a784329c630861c931dc71873a3ac57cf779231;hb=affc57cced8db2537cc22ad5f4ed4ed00e7714df;hpb=65552ea81d2575fa110d151b5a693b92b8921eee diff --git a/make-britney-counts b/make-britney-counts index 9a78432..648ec2f 100755 --- a/make-britney-counts +++ b/make-britney-counts @@ -55,19 +55,24 @@ for my $bug (values %scanlib::bugs) { } } -open TESTING, ">", "britney/testing" - or die "britney/testing: $!"; +open TESTING, ">", "britney/testing.new" + or die "britney/testing.new: $!"; for my $pkg (sort keys %testingbugs) { print TESTING "$pkg $testingbugs{$pkg}\n"; } close TESTING; -open UNSTABLE, ">", "britney/unstable" - or die "britney/unstable: $!"; +open UNSTABLE, ">", "britney/unstable.new" + or die "britney/unstable.new: $!"; for my $pkg (sort keys %unstablebugs) { print UNSTABLE "$pkg $unstablebugs{$pkg}\n"; } close UNSTABLE; +rename "britney/testing.new", "britney/testing" + or die "renaming britney/testing.new to britney/testing: $!"; +rename "britney/unstable.new", "britney/unstable" + or die "renaming britney/unstable.new to britney/unstable: $!"; + exit 0;