diff options
author | tara%tequilarista.org <> | 2001-04-20 00:19:05 +0000 |
---|---|---|
committer | tara%tequilarista.org <> | 2001-04-20 00:19:05 +0000 |
commit | bd01f2be9e8360e147ff5e08ce1a6d706b0dc5f5 (patch) | |
tree | 1b515a09556b74332c41eebdbeb8404087d0c711 /collectstats.pl | |
parent | initial checkin (diff) | |
download | bugzilla-bd01f2be9e8360e147ff5e08ce1a6d706b0dc5f5.tar.gz bugzilla-bd01f2be9e8360e147ff5e08ce1a6d706b0dc5f5.tar.bz2 bugzilla-bd01f2be9e8360e147ff5e08ce1a6d706b0dc5f5.zip |
landing final patch for bug 76261
Diffstat (limited to 'collectstats.pl')
-rwxr-xr-x | collectstats.pl | 6 |
1 files changed, 3 insertions, 3 deletions
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 (<data/duplicates/dupes$today*>) { + 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. |