summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-09-29 22:30:11 +0200
committerJim Meyering <meyering@redhat.com>2008-09-29 22:49:08 +0200
commit0482f193b56d3e915efba78ba116915edf806bfd (patch)
tree16fdc2258acdfeb0bee140b39c7a3470d6634b07 /tests
parentcfe3602ad673f4873bd25d149861ee0c68f52f1b (diff)
downloadcoreutils-0482f193b56d3e915efba78ba116915edf806bfd.tar.xz
fix make variable quotation error
* tests/check.mk (TESTS_ENVIRONMENT): Quote shell variable $tmp__, fix expansion.
Diffstat (limited to 'tests')
-rw-r--r--tests/check.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check.mk b/tests/check.mk
index 9263c67d1..cdb199e32 100644
--- a/tests/check.mk
+++ b/tests/check.mk
@@ -49,7 +49,7 @@ built_programs = \
# variables to test scripts.
TESTS_ENVIRONMENT = \
. $(srcdir)/lang-default; \
- tmp__=$$TMPDIR; test -d $tmp__ || tmp__=.; \
+ tmp__=$$TMPDIR; test -d "$$tmp__" || tmp__=.; \
. $(srcdir)/envvar-check; \
TMPDIR=$$tmp__; export TMPDIR; \
shell_or_perl_() { \