Commit 22558cdd authored by Wayne Davison's avatar Wayne Davison

Improved checkit() and rsync_ls_lR() to work with filenames that

might have spaces.
parent 28c54e81
......@@ -50,7 +50,7 @@ printmsg() {
rsync_ls_lR() {
find "$@" -print | sort | xargs "$TOOLDIR/tls"
find "$@" -print | sort | sed 's/ /\\ /g' | xargs "$TOOLDIR/tls"
}
rsync_getgroups() {
......@@ -168,10 +168,7 @@ checkit() {
echo "-------------"
echo "check how the files compare with diff:"
echo ""
for f in `cd "$2"; find . -type f -print `
do
diff $diffopt "$2"/"$f" "$3"/"$f" || failed=YES
done
diff -r $diffopt "$2" "$3" || failed=YES
echo "-------------"
echo "check how the directory listings compare with diff:"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment