init.sh: accommodate even those who specify bogus srcdir manually
authorJim Meyering <meyering@redhat.com>
Thu, 26 Nov 2009 08:10:04 +0000 (09:10 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 26 Nov 2009 08:10:04 +0000 (09:10 +0100)
commit94a77054e5609e4365b25eb7c2cbcfc02d324d55
tree88a40e1b8a221115f542bf22c342e6615877ab31
parent2fbe772172eb8f078031d68030e3b85c5bd8d57b
init.sh: accommodate even those who specify bogus srcdir manually

* tests/init.sh: Normally, srcdir is guaranteed by automake and
configure-time tests to be sanitized, so that there is no need to
use "$srcdir" in Makefile rules and shell scripts.  Using $srcdir
(with no double quotes) suffices.  However, since tests may be
invoked manually, and since you may explicitly set srcdir to the
name of a directory containing spaces, do quote its uses here.
* tests/test-pread.sh: Likewise.
Suggested by Bruno Haible.
ChangeLog
tests/init.sh
tests/test-pread.sh