summaryrefslogtreecommitdiff
path: root/bin/websync
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2009-06-22 01:01:02 +0200
committerJoerg Jaspert <joerg@debian.org>2009-06-22 01:01:02 +0200
commit7287491bcfc7be2be22a3a7658dea2fca0265140 (patch)
tree71071f3dc4d954c8eeccbffa7da5744c45f7e553 /bin/websync
parentc92d544592e7eedaeb369311be974c3a61f56270 (diff)
Its site_exclude not source_exclude
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin/websync')
-rwxr-xr-xbin/websync4
1 files changed, 2 insertions, 2 deletions
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