From: Mark Wooding Date: Mon, 26 Mar 2012 16:46:00 +0000 (+0100) Subject: bin/ftpsync: `-exclude' means something completely wrong. X-Git-Url: https://git.distorted.org.uk/~mdw/mirror-admin/commitdiff_plain/40931e2681c61042b8cb7bf68ebb14ef0463f1d4 bin/ftpsync: `-exclude' means something completely wrong. Should be `--exclude' of course. --- diff --git a/bin/ftpsync b/bin/ftpsync index 1ae7b81..292b992 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -337,7 +337,7 @@ for ARCH in ${ARCH_EXCLUDE}; do EXCLUDE="${EXCLUDE} --exclude binary-${ARCH}/ --exclude installer-${ARCH}/ --exclude Contents-${ARCH}.gz --exclude Contents-${ARCH}.bz2 --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 " fi fi done