summaryrefslogtreecommitdiff
path: root/bin/ftpsync
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-11-15 14:34:00 +0100
committerJoerg Jaspert <joerg@debian.org>2008-11-15 14:34:00 +0100
commit7ad0f9242bb95b48f9b791ccc8718d2c8a73d42d (patch)
treec5524000d7b067a1661d730bd57bcf6ca50848a8 /bin/ftpsync
parent93523c625c9bdb68037c7b2ce8db65eb30c2e375 (diff)
"shorter" exclude (less space in logfiles)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin/ftpsync')
-rwxr-xr-xbin/ftpsync20
1 files changed, 2 insertions, 18 deletions
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