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 2006/01/11 04:19:41 UTC
svn commit: r367895 - /spamassassin/trunk/build/mkrules
Author: jm
Date: Tue Jan 10 19:19:39 2006
New Revision: 367895
URL: http://svn.apache.org/viewcvs?rev=367895&view=rev
Log:
more interesting build noise
Modified:
spamassassin/trunk/build/mkrules
Modified: spamassassin/trunk/build/mkrules
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/build/mkrules?rev=367895&r1=367894&r2=367895&view=diff
==============================================================================
--- spamassassin/trunk/build/mkrules (original)
+++ spamassassin/trunk/build/mkrules Tue Jan 10 19:19:39 2006
@@ -467,7 +467,8 @@
my ($rule_order, $issandbox, $ALWAYS, $f, $filename) = @_;
my %already_done = ();
- my $copied = 0;
+ my $copied_active = 0;
+ my $copied_other = 0;
foreach my $name (@$rule_order, keys(%$ALWAYS))
{
# only do each rule once, please ;)
@@ -497,11 +498,15 @@
}
$rules->{$name}->{output_file} = $pubfile;
- $copied++;
+ if ($pubfile =~ /${opt_activeout}$/) {
+ $copied_active++;
+ } else {
+ $copied_other++;
+ }
}
- print "$f: $copied ".
- ($issandbox ? "sandbox" : "core")." rules copied\n";
+ print "$f: $copied_active active rules, ".
+ "$copied_other other\n";
}
sub pubfile_for_rule {