From: Mark Wooding Date: Thu, 3 May 2012 01:04:30 +0000 (+0100) Subject: bin/debian-excludes: Use rsync program configured in RSYNC variable. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mirror-admin/commitdiff_plain/db23de43d0f4934f3fc1e5bcb8eda396f50522bf?ds=sidebyside;hp=-c bin/debian-excludes: Use rsync program configured in RSYNC variable. --- db23de43d0f4934f3fc1e5bcb8eda396f50522bf diff --git a/bin/debian-excludes b/bin/debian-excludes index bac4992..11701f2 100755 --- a/bin/debian-excludes +++ b/bin/debian-excludes @@ -12,8 +12,9 @@ case $# in esac ## Check the available distributions for architectures. +: ${RSYNC="rsync"} for dist in "$@"; do - rsync --list-only $RSYNC_HOST::$RSYNC_PATH/dists/$dist/main/ + $RSYNC --list-only $RSYNC_HOST::$RSYNC_PATH/dists/$dist/main/ done | { ## Gather up excluded architectures as we go.