chiark / gitweb /
bin/debian-excludes: Use rsync program configured in RSYNC variable.
[mirror-admin] / bin / debian-excludes
index bac49928be1571e7ba3cb6b386ee975960d149ef..11701f23d8b4679643b9dcd98d79a2d3ca59f96e 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.