]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Separated a `cat "..."` command out from inside a double-quoted string
authorWayne Davison <wayned@samba.org>
Tue, 21 Jan 2003 19:27:11 +0000 (19:27 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 21 Jan 2003 19:27:11 +0000 (19:27 +0000)
so that we don't run afoul of some shells quoting quirks.  (As Brian
Poole suggested.)

runtests.sh

index d2865ae3553b1147e2a3440b754f92457f453bb1..bb0b34a6369288e5e60dd5c70c68e310bfd2828f 100755 (executable)
@@ -230,7 +230,8 @@ do
        ;;
     77)
        # backticks will fill the whole file onto one line, which is a feature
-       echo "SKIP    $testbase (`cat \"$scratchdir/whyskipped\"`)"
+       whyskipped=`cat "$scratchdir/whyskipped"`
+       echo "SKIP    $testbase ($whyskipped)"
        skipped=`expr $skipped + 1`
        maybe_discard_scratch
        ;;