summaryrefslogtreecommitdiffstats
path: root/collectstats.pl
diff options
context:
space:
mode:
authortara%tequilarista.org <>2001-04-20 02:19:05 +0200
committertara%tequilarista.org <>2001-04-20 02:19:05 +0200
commitbd01f2be9e8360e147ff5e08ce1a6d706b0dc5f5 (patch)
tree1b515a09556b74332c41eebdbeb8404087d0c711 /collectstats.pl
parent287de8ff82681183110d7f56db9859114f510360 (diff)
downloadbugzilla-bd01f2be9e8360e147ff5e08ce1a6d706b0dc5f5.tar.gz
bugzilla-bd01f2be9e8360e147ff5e08ce1a6d706b0dc5f5.tar.xz
landing final patch for bug 76261
Diffstat (limited to 'collectstats.pl')
-rwxr-xr-xcollectstats.pl6
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.