From db23de43d0f4934f3fc1e5bcb8eda396f50522bf Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Thu, 3 May 2012 02:04:30 +0100 Subject: [PATCH] bin/debian-excludes: Use rsync program configured in RSYNC variable. Organization: Straylight/Edgeware From: Mark Wooding --- bin/debian-excludes | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- [mdw]