[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ftpsync bugfix release

On Mon, 21 May 2012, Joerg Jaspert wrote:
>  - Revert various quotings of rsync patterns, thus making ARCH_EXCLUDE
>    work again.
>  - exclude the i18n/ dir completly
>  - Also exclude udeb contents for excluded architectures.
>    Those had been ignored before, and thus always transferred. They are
>    small, compared to the rest, so didn't hurt, but now we exclude them
>    too.

There's also an '-exclude' where it should be '--exclude'.  See attached

  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
diff --git a/bin/ftpsync b/bin/ftpsync
index 36b897a..2cdd98d 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -351,7 +351,7 @@ for ARCH in ${ARCH_EXCLUDE}; do
     EXCLUDE="${EXCLUDE} --exclude binary-${ARCH}/ --exclude installer-${ARCH}/ --exclude Contents-${ARCH}.gz --exclude Contents-udeb-${ARCH}.gz --exclude Contents-${ARCH}.diff/ --exclude arch-${ARCH}.files --exclude arch-${ARCH}.list.gz --exclude *_${ARCH}.deb --exclude *_${ARCH}.udeb --exclude *_${ARCH}.changes"
     if [ "${ARCH}" = "source" ]; then
         if [ -z ${SOURCE_EXCLUDE} ]; then
-            SOURCE_EXCLUDE=" --exclude source/ --exclude *.tar.gz --exclude *.diff.gz --exclude *.tar.bz2 --exclude *.tar.xz -exclude *.diff.bz2 --exclude *.dsc "
+            SOURCE_EXCLUDE=" --exclude source/ --exclude *.tar.gz --exclude *.diff.gz --exclude *.tar.bz2 --exclude *.tar.xz --exclude *.diff.bz2 --exclude *.dsc "

Reply to: