From 7287491bcfc7be2be22a3a7658dea2fca0265140 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Mon, 22 Jun 2009 01:01:02 +0200 Subject: Its site_exclude not source_exclude Signed-off-by: Joerg Jaspert --- bin/websync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/websync') diff --git a/bin/websync b/bin/websync index 7578a9c..a6750ae 100755 --- a/bin/websync +++ b/bin/websync @@ -249,10 +249,10 @@ while [ -e "${UPDATEREQUIRED}" ]; do log "Running mirrorsync, update is required, ${UPDATEREQUIRED} exists" rm -f "${UPDATEREQUIRED}" - log "Syncing: ${RSYNC} ${RSYNC_OPTIONS} ${RSYNC_OPTIONS2} ${EXCLUDE} ${SOURCE_EXCLUDE} ${RSYNCPTH}::${RSYNC_PATH} ${TO}" + log "Syncing: ${RSYNC} ${RSYNC_OPTIONS} ${RSYNC_OPTIONS2} ${EXCLUDE} ${SITE_EXCLUDE} ${RSYNCPTH}::${RSYNC_PATH} ${TO}" set +e - ${RSYNC} ${RSYNC_OPTIONS} ${RSYNC_OPTIONS2} ${EXCLUDE} ${SOURCE_EXCLUDE} \ + ${RSYNC} ${RSYNC_OPTIONS} ${RSYNC_OPTIONS2} ${EXCLUDE} ${SITE_EXCLUDE} \ ${RSYNCPTH}::${RSYNC_PATH} "${TO}" >"${LOGDIR}/rsync-${NAME}.log" 2>"${LOGDIR}/rsync-${NAME}.error" result=$? set -e -- cgit v1.2.3