Skip to content

Commit

Permalink
Added even more double-quoting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayne Davison committed Jul 22, 2004
1 parent e76ca14 commit e344209
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions testsuite/rsync.fns
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@


tmpdir="$scratchdir"
fromdir=$tmpdir/from
todir=$tmpdir/to
chkdir=$tmpdir/chk
fromdir="$tmpdir/from"
todir="$tmpdir/to"
chkdir="$tmpdir/chk"

# Berkley's nice.
PATH="$PATH:/usr/ucb"

if diff -u $srcdir/testsuite/rsync.fns $srcdir/testsuite/rsync.fns >/dev/null 2>&1; then
if diff -u "$srcdir/testsuite/rsync.fns" "$srcdir/testsuite/rsync.fns" >/dev/null 2>&1; then
diffopt="-u"
else
diffopt="-c"
Expand Down Expand Up @@ -66,9 +66,9 @@ hands_setup() {
rm -rf "$fromdir"
rm -rf "$todir"

[ -d $tmpdir ] || mkdir "$tmpdir"
[ -d $fromdir ] || mkdir "$fromdir"
[ -d $todir ] || mkdir "$todir"
[ -d "$tmpdir" ] || mkdir "$tmpdir"
[ -d "$fromdir" ] || mkdir "$fromdir"
[ -d "$todir" ] || mkdir "$todir"

# On some BSD systems, the umask affects the mode of created
# symlinks, even though the mode apparently has no effect on how
Expand Down

0 comments on commit e344209

Please sign in to comment.