You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2007/07/04 15:31:43 UTC

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

Author: jm
Date: Wed Jul  4 06:31:43 2007
New Revision: 553202

URL: http://svn.apache.org/viewvc?view=rev&rev=553202
Log:
bug 5546: mkrules compiler dependency checking would ignore changes to rules/active.list. fix

Modified:
    spamassassin/trunk/build/mkrules

Modified: spamassassin/trunk/build/mkrules
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/mkrules?view=diff&rev=553202&r1=553201&r2=553202
==============================================================================
--- spamassassin/trunk/build/mkrules (original)
+++ spamassassin/trunk/build/mkrules Wed Jul  4 06:31:43 2007
@@ -141,6 +141,14 @@
   }
 }
 
+# check mtime on the active.list file, too
+{
+  my @st = stat $opt_active;
+  if ($st[9] && $st[9] > $newest_src_mtime) {
+    $newest_src_mtime = $st[9];
+  }
+}
+
 # check mtimes, and also require that the two required output files
 # really do exist
 if ($newest_src_mtime && $newest_out_mtime