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/21 14:01:37 UTC
svn commit: r650117 - /spamassassin/trunk/masses/rule-qa/nightly-slave-stop
Author: jm
Date: Mon Apr 21 05:01:24 2008
New Revision: 650117
URL: http://svn.apache.org/viewvc?rev=650117&view=rev
Log:
actually: redo, with less spurious error messages in general
Modified:
spamassassin/trunk/masses/rule-qa/nightly-slave-stop
Modified: spamassassin/trunk/masses/rule-qa/nightly-slave-stop
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/rule-qa/nightly-slave-stop?rev=650117&r1=650116&r2=650117&view=diff
==============================================================================
--- spamassassin/trunk/masses/rule-qa/nightly-slave-stop (original)
+++ spamassassin/trunk/masses/rule-qa/nightly-slave-stop Mon Apr 21 05:01:24 2008
@@ -15,10 +15,10 @@
# and clean out the client-side caches of old cached mail
ssh $host \
- cd $clienttree/cs_cache \&\& find . -type f -mtime +180 -print \| xargs rm \
- || true
+ find $clienttree/cs_cache/. -type f -mtime +180 -print > o
+[ -s o ] && ssh $host xargs rm < o
ssh $host \
- cd $clienttree/cs_cache \&\& find . -depth -type d -empty -print \| xargs rmdir \
- || true
+ find $clienttree/cs_cache/. -depth -type d -empty -print > o
+[ -s o ] && ssh $host xargs rmdir < o