summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRaphael Geissert <geissert@debian.org>2012-12-17 19:28:06 -0600
committerRaphael Geissert <geissert@debian.org>2012-12-17 19:28:06 -0600
commit06eaf830798e52862d0b47cdbae98693f57f9c89 (patch)
tree0b8afedd948dfbbad66ff8514b97c5b48ca13f17 /etc
parentbc66367f5a6b9e9e3be31a913981f428b44fa98d (diff)
Pass exclude options as --opt=value to avoid shell expansion
Quoting the values would some times result in double quoting, preventing the patterns from matching what they were intended to match. Signed-off-by: Raphael Geissert <geissert@debian.org>
Diffstat (limited to 'etc')
-rw-r--r--etc/ftpsync.conf.sample4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/ftpsync.conf.sample b/etc/ftpsync.conf.sample
index 68fca57..31c1758 100644
--- a/etc/ftpsync.conf.sample
+++ b/etc/ftpsync.conf.sample
@@ -130,11 +130,11 @@
## BE VERY CAREFUL WHEN YOU CHANGE THE RSYNC_OPTIONS! BETTER DON'T!
## Default rsync options every rsync invocation sees.
-#RSYNC_OPTIONS="-prltvHSB8192 --timeout 3600 --stats --exclude Archive-Update-in-Progress-${MIRRORNAME} --exclude ${TRACE} --exclude Archive-Update-Required-${MIRRORNAME}"
+#RSYNC_OPTIONS="-prltvHSB8192 --timeout 3600 --stats --exclude=Archive-Update-in-Progress-${MIRRORNAME} --exclude=${TRACE} --exclude=Archive-Update-Required-${MIRRORNAME}"
## Options the first pass gets. We do not want the Packages/Source indices
## here, and we also do not want to delete any files yet.
-#RSYNC_OPTIONS1="--exclude Packages* --exclude Sources* --exclude Release* --exclude InRelease --exclude i18n/* --exclude ls-lR*"
+#RSYNC_OPTIONS1="--exclude=Packages* --exclude=Sources* --exclude=Release* --exclude=InRelease --exclude=i18n/* --exclude=ls-lR*"
## Options the second pass gets. Now we want the Packages/Source indices too
## and we also want to delete files. We also want to delete files that are