mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-04-26 00:59:24 -04:00
Use a single makepath call with multiple args.
This commit is contained in:
@@ -39,8 +39,7 @@ chmod +w "$checkdir" "$checkdir"/dir*
|
||||
checkit "$RSYNC -avv --chmod ug-s,a+rX,D+w \"$fromdir/\" \"$todir/\"" "$checkdir" "$todir"
|
||||
|
||||
rm -r "$fromdir" "$checkdir" "$todir"
|
||||
makepath "$todir"
|
||||
makepath "$fromdir/foo"
|
||||
makepath "$todir" "$fromdir/foo"
|
||||
touch "$fromdir/bar"
|
||||
|
||||
checkit "$RSYNC -avv \"$fromdir/\" \"$checkdir/\"" "$fromdir" "$checkdir"
|
||||
|
||||
@@ -11,9 +11,7 @@
|
||||
|
||||
hands_setup
|
||||
|
||||
makepath "$chkdir"
|
||||
makepath "$todir/extradir"
|
||||
makepath "$todir/emptydir/subdir"
|
||||
makepath "$chkdir" "$todir/extradir" "$todir/emptydir/subdir"
|
||||
|
||||
echo extra >"$todir"/remove1
|
||||
echo extra >"$todir"/remove2
|
||||
|
||||
Reference in New Issue
Block a user