From b0ed5e1fcb9c8bec7611ee9dee5f1e4ae1c61efe Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Mon, 22 Jun 2009 01:07:42 +0200 Subject: a --exclude really helps Signed-off-by: Joerg Jaspert --- bin/websync | 2 +- etc/websync.conf.sample | 2 +- 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"} -- cgit v1.2.3