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/06/29 17:20:16 UTC

svn commit: r418070 - /spamassassin/trunk/build/automc/populate_cor_nightly

Author: jm
Date: Thu Jun 29 08:20:16 2006
New Revision: 418070

URL: http://svn.apache.org/viewvc?rev=418070&view=rev
Log:
fix to generate useful data please

Modified:
    spamassassin/trunk/build/automc/populate_cor_nightly

Modified: spamassassin/trunk/build/automc/populate_cor_nightly
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/automc/populate_cor_nightly?rev=418070&r1=418069&r2=418070&view=diff
==============================================================================
--- spamassassin/trunk/build/automc/populate_cor_nightly (original)
+++ spamassassin/trunk/build/automc/populate_cor_nightly Thu Jun 29 08:20:16 2006
@@ -16,6 +16,7 @@
   mkdir ($TGTS_DIR) or die "cannot create $TGTS_DIR";
 }
 
+chdir $RAWCOR_DIR or die "cd $RAWCOR_DIR failed";
 foreach my $submitter (<*>) {
   next unless (-d $submitter);
 
@@ -24,8 +25,8 @@
   open (OUT, ">$TGTS_DIR/targets.$submitter")
     or warn "cannot write to $TGTS_DIR/targets.$submitter";
 
-  print OUT "ham:detect:$RAWCOR_DIR/*\n",
-            "spam:detect:$RAWCOR_DIR/*\n";
+  print OUT "ham:detect:$RAWCOR_DIR/$submitter/ham/*\n",
+            "spam:detect:$RAWCOR_DIR/$submitter/spam/*\n";
 
   close OUT or die "write failed";
 }