You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by do...@apache.org on 2007/11/30 02:55:45 UTC

svn commit: r599674 - /spamassassin/trunk/build/mkrules

Author: dos
Date: Thu Nov 29 17:55:43 2007
New Revision: 599674

URL: http://svn.apache.org/viewvc?rev=599674&view=rev
Log:
bug 5737: mkrules cannot use generated scores since the generated scores are not guaranteed to be in sync with the current active.list file

Modified:
    spamassassin/trunk/build/mkrules

Modified: spamassassin/trunk/build/mkrules
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/mkrules?rev=599674&r1=599673&r2=599674&view=diff
==============================================================================
--- spamassassin/trunk/build/mkrules (original)
+++ spamassassin/trunk/build/mkrules Thu Nov 29 17:55:43 2007
@@ -270,7 +270,11 @@
   return if (!-f $path);
   
   # limit what will be copied from sandboxes
-  return if ($path =~ /(?:sandbox|scores)/ && !/(?:\d.*\.cf|\.pm)$/i);
+  return if ($path =~ /\bsandbox\b/ && !/(?:\d.*\.cf|\.pm)$/i);
+
+  # don't use generated scores; they can be out of sync with what is currently
+  # in the sandboxes or the most current active.list file at any given time
+  return if ($path =~ /\bscores\b/);
 
   # a bit of sanity please - no svn metadata ;)
   return if ($path =~ /\.svn/);