From 7ad0f9242bb95b48f9b791ccc8718d2c8a73d42d Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 15 Nov 2008 14:34:00 +0100 Subject: "shorter" exclude (less space in logfiles) Signed-off-by: Joerg Jaspert --- bin/ftpsync | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'bin/ftpsync') diff --git a/bin/ftpsync b/bin/ftpsync index 5aebff5..6aa9a08 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -289,26 +289,10 @@ SOURCE_EXCLUDE=${SOURCE_EXCLUDE:-""} ARCH_EXCLUDE=${ARCH_EXCLUDE:-""} # Exclude architectures defined in $ARCH_EXCLUDE for ARCH in ${ARCH_EXCLUDE}; do - EXCLUDE=${EXCLUDE}"\ - --exclude binary-${ARCH}/ \ - --exclude disks-${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="${EXCLUDE} --exclude binary-${ARCH}/ --exclude disks-${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 " if [ "${ARCH}" = "source" ]; then if [ -z ${SOURCE_EXCLUDE} ]; then - SOURCE_EXCLUDE="\ - --exclude source/ \ - --exclude *.tar.gz \ - --exclude *.diff.gz \ - --exclude *.tar.bz2 \ - --exclude *.diff.bz2 \ - --exclude *.dsc " + SOURCE_EXCLUDE=" --exclude source/ --exclude *.tar.gz --exclude *.diff.gz --exclude *.tar.bz2 --exclude *.diff.bz2 --exclude *.dsc " fi fi done -- cgit v1.2.3