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/05/05 14:48:10 UTC
svn commit: r535517 - /spamassassin/trunk/masses/rule-qa/corpus-hourly
Author: jm
Date: Sat May 5 05:48:09 2007
New Revision: 535517
URL: http://svn.apache.org/viewvc?view=rev&rev=535517
Log:
duh, wrong way around ;)
Modified:
spamassassin/trunk/masses/rule-qa/corpus-hourly
Modified: spamassassin/trunk/masses/rule-qa/corpus-hourly
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/rule-qa/corpus-hourly?view=diff&rev=535517&r1=535516&r2=535517
==============================================================================
--- spamassassin/trunk/masses/rule-qa/corpus-hourly (original)
+++ spamassassin/trunk/masses/rule-qa/corpus-hourly Sat May 5 05:48:09 2007
@@ -56,6 +56,12 @@
if ($realcorpusdir) {
print "reading logs from '$realcorpusdir'\n";
+ $make_links = 0;
+ $corpusdir = $realcorpusdir; # no need to take copies
+
+} else {
+ $realcorpusdir = $opt{corpus};
+ &update_rsync;
# create a temp dir to hold hard links to the files we're working on. This
# is used so that the rsyncd can upload new source files, replacing
@@ -64,14 +70,9 @@
$corpusdir = "$opt{tmp}/parse.$$";
mkdir $corpusdir or die "cannot mkdir $corpusdir";
push @tmps, $corpusdir;
- print "using $corpusdir to hold temporary links to processed logs\n";
+ print "copying logs from '$realcorpusdir'\n";
+ print "using $corpusdir to hold temporary copies\n";
$make_links = 1;
-
-} else {
- $realcorpusdir = $opt{corpus};
- $corpusdir = $realcorpusdir; # no need to take copies
- $make_links = 0;
- &update_rsync;
}
&locate;