summaryrefslogtreecommitdiff
path: root/bin/websync
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2009-06-22 01:07:42 +0200
committerJoerg Jaspert <joerg@debian.org>2009-06-22 01:07:42 +0200
commitb0ed5e1fcb9c8bec7611ee9dee5f1e4ae1c61efe (patch)
tree0639d129d0107b03ba98eca15e7aabc71bae3bb7 /bin/websync
parent7287491bcfc7be2be22a3a7658dea2fca0265140 (diff)
a --exclude really helps
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin/websync')
-rwxr-xr-xbin/websync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/websync b/bin/websync
index a6750ae..086ab44 100755
--- a/bin/websync
+++ b/bin/websync
@@ -168,7 +168,7 @@ RSYNC_PASSWORD=${RSYNC_PASSWORD:-""}
RSYNC_PROXY=${RSYNC_PROXY:-""}
# General excludes.
-EXCLUDE=${EXCLUDE:-"${HOSTNAME}"}
+EXCLUDE=${EXCLUDE:-"--exclude ${HOSTNAME}"}
# The temp directory used by rsync --delay-updates is not
# world-readable remotely. Always exclude it to avoid errors.