Use a single makepath call with multiple args.
authorWayne Davison <wayned@samba.org>
Tue, 24 Apr 2007 18:21:08 +0000 (18:21 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 24 Apr 2007 18:21:08 +0000 (18:21 +0000)
testsuite/chmod-option.test
testsuite/delete.test

index 20b3a51b77964ca180c5b493921593e3141ae633..3e5fd285ed9059a479859d52712e3af16f57fc91 100644 (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"
index bab92a129e276ec2ab53943cd622581da270a7db..208ff45626f09f72066bd2d0d8bbe2952453c3ee 100644 (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