diff options
author | Joerg Jaspert <joerg@debian.org> | 2009-06-22 01:07:42 +0200 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2009-06-22 01:07:42 +0200 |
commit | b0ed5e1fcb9c8bec7611ee9dee5f1e4ae1c61efe (patch) | |
tree | 0639d129d0107b03ba98eca15e7aabc71bae3bb7 | |
parent | 7287491bcfc7be2be22a3a7658dea2fca0265140 (diff) |
a --exclude really helps
Signed-off-by: Joerg Jaspert <joerg@debian.org>
-rwxr-xr-x | bin/websync | 2 | ||||
-rw-r--r-- | 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"} |