summaryrefslogtreecommitdiff
path: root/bin/ftpsync
diff options
context:
space:
mode:
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