summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/websync2
-rw-r--r--etc/websync.conf.sample2
2 files changed, 2 insertions, 2 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.
diff --git a/etc/websync.conf.sample b/etc/websync.conf.sample
index 498ac08..08e2413 100644
--- a/etc/websync.conf.sample
+++ b/etc/websync.conf.sample
@@ -54,7 +54,7 @@
## See rsync(1) for the exact syntax, these are passed to rsync as written here.
## Please do not use this except for rare cases and after you talked to us.
## For the sponsor logos see SITE_EXCLUDE
-#EXCLUDE=${EXCLUDE:-"${HOSTNAME}"}
+#EXCLUDE=${EXCLUDE:-"--exclude ${HOSTNAME}"}
## And site specific excludes, by default its the sponsor stuff that should be local to all
#SITE_EXCLUDE=${SITE_EXCLUDE:-"--exclude core --exclude sponsor_img.jpg --exclude sponsor.html"}