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 2005/12/06 05:37:06 UTC

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

Author: jm
Date: Mon Dec  5 20:37:05 2005
New Revision: 354302

URL: http://svn.apache.org/viewcvs?rev=354302&view=rev
Log:
corpus should use abs paths

Modified:
    spamassassin/trunk/build/automc/populate_cor_nightly

Modified: spamassassin/trunk/build/automc/populate_cor_nightly
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/build/automc/populate_cor_nightly?rev=354302&r1=354301&r2=354302&view=diff
==============================================================================
--- spamassassin/trunk/build/automc/populate_cor_nightly (original)
+++ spamassassin/trunk/build/automc/populate_cor_nightly Mon Dec  5 20:37:05 2005
@@ -28,13 +28,13 @@
 
   foreach my $type (qw(ham spam))
   {
-    foreach my $dir (<$submitter/*>) {
+    foreach my $dir (<$submitter/$type/*>) {
       next unless (-d $dir);
-      print OUT "$type:dir:$dir\n";
+      print OUT "$type:dir:$RAWCOR_DIR/$dir\n";
     }
-    foreach my $mbox (<$submitter/*.mbox>) {
+    foreach my $mbox (<$submitter/$type/*.mbox>) {
       next unless (-f $mbox);
-      print OUT "$type:mbox:$mbox\n";
+      print OUT "$type:mbox:$RAWCOR_DIR/$mbox\n";
     }
   }