You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by da...@apache.org on 2017/05/29 18:50:21 UTC

svn commit: r1796674 - /spamassassin/trunk/backend/nitemc/extract_to_rsync_dir

Author: davej
Date: Mon May 29 18:50:21 2017
New Revision: 1796674

URL: http://svn.apache.org/viewvc?rev=1796674&view=rev
Log:
Fixed pathing due to new perms on new server.

Modified:
    spamassassin/trunk/backend/nitemc/extract_to_rsync_dir

Modified: spamassassin/trunk/backend/nitemc/extract_to_rsync_dir
URL: http://svn.apache.org/viewvc/spamassassin/trunk/backend/nitemc/extract_to_rsync_dir?rev=1796674&r1=1796673&r2=1796674&view=diff
==============================================================================
--- spamassassin/trunk/backend/nitemc/extract_to_rsync_dir (original)
+++ spamassassin/trunk/backend/nitemc/extract_to_rsync_dir Mon May 29 18:50:21 2017
@@ -36,19 +36,15 @@ set -ex
 for retry in 1 2 3 4 5 6 7 8 9 10 ; do
 
     # export the main repo:
-    rm -rf $RSYNC_DIR/$subdir
-    $SVN export --non-interactive -r $REV $REPO_URL $RSYNC_DIR/$subdir \
+    rm -rf $RSYNC_DIR/$subdir/*
+    $SVN export --non-interactive --force -r $REV $REPO_URL $RSYNC_DIR/$subdir/ \
             || continue
 
     cd $RSYNC_DIR/$subdir
     $PERL build/mkrules --out rules > /dev/null || continue
 
     # create "svn info" file for mass-check
-    # we assume that the current directory was updated via cron to the correct
-    # revision, so just info it. (can't do remote info with the svn version
-    # installed on the zones machine, nor will it accept "--non-interactive")
-    $SVN info $HOME/versions/trunk \
-            > $RSYNC_DIR/$subdir/masses/svninfo.tmp \
+    $SVN info $REPO_URL > masses/svninfo.tmp \
             < /dev/null || continue
 
     exit               # assume success at this point