spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j.@apache.org
Subject svn commit: r354302 - /spamassassin/trunk/build/automc/populate_cor_nightly
Date Tue, 06 Dec 2005 04:37:06 GMT
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";
     }
   }
 



Mime
View raw message