Signed-off-by: Rob Browning <rlb@defaultvalue.org>
anything useful.
+Notes on Cygwin
+---------------
+
+ - There is no support for ACLs. If/when some entrprising person
+ fixes this, adjust t/compare-trees.
+
+
How it works
============
rsync_opts="-niaH$verify_content --delete"
if rsync --version | grep -q xattrs; then
- rsync_opts="$rsync_opts -AX"
+ if [[ $(uname) =~ CYGWIN ]]; then
+ # bup doesn't support ACLs on Cygwin yet.
+ rsync_opts="$rsync_opts -X"
+ else
+ rsync_opts="$rsync_opts -AX"
+ fi
else
echo "Not comparing xattrs/acls (unsupported by available rsync)." 1>&2
fi