Call rsync via $RSYNC.

This commit is contained in:
Wayne Davison
2005-04-15 17:39:35 +00:00
parent 042dc7360e
commit c09ebb8c04

View File

@@ -38,7 +38,7 @@ rm -rf "$todir"
# enabled (this has had a problem twice now, so we need this).
mkdir "$chkdir"
cp -p "$name1" "$chkdir"
rsync -avvi -f '-! */' "$fromdir/" "$chkdir/"
$RSYNC -avvi -f '-! */' "$fromdir/" "$chkdir/"
checkit "$RSYNC -aHivv \"$name1\" \"$todir/\"" "$chkdir" "$todir"
# The script would have aborted on error, so getting here means we've won.