From bd01f2be9e8360e147ff5e08ce1a6d706b0dc5f5 Mon Sep 17 00:00:00 2001 From: "tara%tequilarista.org" <> Date: Fri, 20 Apr 2001 00:19:05 +0000 Subject: landing final patch for bug 76261 --- collectstats.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'collectstats.pl') diff --git a/collectstats.pl b/collectstats.pl index d6a97e4e2..7e0d822f0 100755 --- a/collectstats.pl +++ b/collectstats.pl @@ -130,11 +130,11 @@ sub calculate_dupes { # Save % count here in a date-named file # so we can read it back in to do changed counters # First, delete it if it exists, so we don't add to the contents of an old file - if (-e "data/mining/dupes$today") { - system("rm -f data/mining/dupes$today"); + if () { + system("rm -f data/duplicates/dupes$today*"); } - dbmopen(%count, "data/mining/dupes$today", 0644) || die "Can't open DBM dupes file: $!"; + dbmopen(%count, "data/duplicates/dupes$today", 0644) || die "Can't open DBM dupes file: $!"; # Create a hash with key "a bug number", value "bug which that bug is a # direct dupe of" - straight from the duplicates table. -- cgit v1.2.3-24-g4f1b