bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] fix make variable quotation error


From: Ralf Wildenhues
Subject: [PATCH] fix make variable quotation error
Date: Mon, 29 Sep 2008 22:30:11 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]