* tests/check.mk (TESTS_ENVIRONMENT): Quote shell variable
$tmp__, fix expansion.
---

Hi Jim,

a minor nit patch.

Cheers,
Ralf

 tests/check.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/check.mk b/tests/check.mk
index e1a8e35..c471d1f 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_() {                           \
-- 
1.6.0.1.309.g48068



_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to