bin/debian-excludes: Use rsync program configured in RSYNC variable.
[mirror-admin] / bin / debian-excludes
index bac4992..11701f2 100755 (executable)
@@ -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.