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/11/14 00:17:16 UTC
svn commit: r594702 - /spamassassin/trunk/masses/rule-qa/nightly-slave-start
Author: jm
Date: Tue Nov 13 15:17:15 2007
New Revision: 594702
URL: http://svn.apache.org/viewvc?rev=594702&view=rev
Log:
shift the clienttree into a subdir, so that the cs_cache dir is persistent
Modified:
spamassassin/trunk/masses/rule-qa/nightly-slave-start
Modified: spamassassin/trunk/masses/rule-qa/nightly-slave-start
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/rule-qa/nightly-slave-start?rev=594702&r1=594701&r2=594702&view=diff
==============================================================================
--- spamassassin/trunk/masses/rule-qa/nightly-slave-start (original)
+++ spamassassin/trunk/masses/rule-qa/nightly-slave-start Tue Nov 13 15:17:15 2007
@@ -23,9 +23,9 @@
[ "$clienttree" = "" ] && clienttree=tree
ssh $host \
- rm -rf $clienttree \; \
- mkdir $clienttree \; \
- cd $clienttree \; \
+ rm -rf $clienttree/code \; \
+ mkdir -p $clienttree/code \; \
+ cd $clienttree/code \; \
tar xfz - < $tmp/tf
# source /etc/profile to get a full $PATH, including /usr/local/bin
@@ -33,17 +33,19 @@
# rebuild to compile the blib modules for this platform.
ssh $host \
- cd $clienttree \; \
+ cd $clienttree/code \; \
. /etc/profile \; \
perl Makefile.PL \; \
make clean \; \
perl Makefile.PL \; \
make < /dev/null > $tmp/remote_build.$host.log
+# use a cs_cache in $clienttree/cs_cache -- this is not removed
+# with the above "rm -rf" command
ssh -f $host \
- cd $clienttree/masses \; \
+ cd $clienttree/code/masses \; \
. /etc/profile \; \
TZ=UTC perl mass-check \
- --cs_ssl --cs_verbose --cs_schedule_cache --cs_cachedir=./cs_cache \
+ --cs_ssl --cs_verbose --cs_schedule_cache --cs_cachedir=../../cs_cache \
--client $serverhost &