chiark / gitweb /
bin/debian-excludes: Use rsync program configured in RSYNC variable.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 3 May 2012 01:04:30 +0000 (02:04 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 3 May 2012 01:09:47 +0000 (02:09 +0100)
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.