Use a single makepath call with multiple args.

This commit is contained in:
Wayne Davison
2007-04-24 18:21:08 +00:00
parent d1798a2fda
commit 7ea6ea98c8
2 changed files with 2 additions and 5 deletions

View File

@@ -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"

View File

@@ -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