Don't sync svn directories to the frontend servers
authorDave Page <dpage@pgadmin.org>
Wed, 4 Feb 2009 22:21:56 +0000 (22:21 +0000)
committerDave Page <dpage@pgadmin.org>
Wed, 4 Feb 2009 22:21:56 +0000 (22:21 +0000)
git-svn-id: file:///Users/dpage/pgweb/svn-repo/trunk@2405 8f5c7a92-453e-0410-a47f-ad33c8a6b003

portal/tools/site_cron.sh

index efeb09b8a959f5efb2b7eac06b4609ef3acbbf3a..a06d9461651367fbd3cb27bd35075f413b911856 100755 (executable)
@@ -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')"
                 ) &