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 2008/04/24 11:26:36 UTC
svn commit: r651205 -
/spamassassin/trunk/masses/rule-qa/get-rulemetadata-for-revision
Author: jm
Date: Thu Apr 24 02:26:33 2008
New Revision: 651205
URL: http://svn.apache.org/viewvc?rev=651205&view=rev
Log:
get-rulemetadata should delete directories before re-getting the rule source, otherwise mod times on rule source files will not match their mod times in SVN necessarily
Modified:
spamassassin/trunk/masses/rule-qa/get-rulemetadata-for-revision
Modified: spamassassin/trunk/masses/rule-qa/get-rulemetadata-for-revision
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/rule-qa/get-rulemetadata-for-revision?rev=651205&r1=651204&r2=651205&view=diff
==============================================================================
--- spamassassin/trunk/masses/rule-qa/get-rulemetadata-for-revision (original)
+++ spamassassin/trunk/masses/rule-qa/get-rulemetadata-for-revision Thu Apr 24 02:26:33 2008
@@ -108,8 +108,9 @@
# the amount of work that has to be done to "svn up" to the
# correct revision, hopefully.
my $cmd;
- $cmd = "cd $tmpdir; ".
- "cp -pr $conf{tree}/. .; ".
+ $cmd = "cd $tmpdir && ".
+ "cp -pr $conf{tree}/. . && ".
+ "rm -rf rules rulesrc && ".
"svn update --non-interactive -r$opt_rev < /dev/null";
print "[$cmd]\n";