fix make variable quotation error
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 29 Sep 2008 20:30:11 +0000 (22:30 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 29 Sep 2008 20:49:08 +0000 (22:49 +0200)
* tests/check.mk (TESTS_ENVIRONMENT): Quote shell variable
$tmp__, fix expansion.

tests/check.mk

index 9263c67..cdb199e 100644 (file)
@@ -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_() {                           \