From 96ee21a7bd18084e24f926fe9233022bf080146d Mon Sep 17 00:00:00 2001 From: Dave Page Date: Wed, 4 Feb 2009 22:21:56 +0000 Subject: [PATCH] Don't sync svn directories to the frontend servers git-svn-id: file:///Users/dpage/pgweb/svn-repo/trunk@2405 8f5c7a92-453e-0410-a47f-ad33c8a6b003 --- portal/tools/site_cron.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portal/tools/site_cron.sh b/portal/tools/site_cron.sh index efeb09b8..a06d9461 100755 --- a/portal/tools/site_cron.sh +++ b/portal/tools/site_cron.sh @@ -47,7 +47,7 @@ if [ ! -e /tmp/.website_update.lck ]; then for IP in $(${PSQL} -At -c "SELECT ip FROM frontends") ; do ( # Push the sync through - ${RSYNC} -azH --delete ${WWWROOT} ${IP}::pgsql-www + ${RSYNC} -azH --delete --exclude=.svn ${WWWROOT} ${IP}::pgsql-www ${PSQL} -q -c "INSERT INTO sync_log VALUES \ (CURRENT_TIMESTAMP, 'push', '${IP}', '$TIME')" ) & -- 2.39.5