>From c662fc8099aba314b9237a08de80732a7aed2371 Mon Sep 17 00:00:00 2001
From: Vegard Nossum <[email protected]>
Date: Mon, 20 Apr 2009 10:57:26 +0200
Subject: [PATCH] regression: quote variable in run-suite.sh

I got this:

        run-suite.sh: line 23: test: argument expected

Let's quote the variable. Now I get this instead:

        Error! Cannot find GNU Classpath installed.


Signed-off-by: Vegard Nossum <[email protected]>
---
 regression/run-suite.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/regression/run-suite.sh b/regression/run-suite.sh
index 097c326..146d7a8 100755
--- a/regression/run-suite.sh
+++ b/regression/run-suite.sh
@@ -20,7 +20,7 @@ function run_java {
 }
 
 GNU_CLASSPATH_ROOT=`../tools/classpath-config`
-if test x"$GNU_CLASSPATH_ROOT" = x -o ! -d $GNU_CLASSPATH_ROOT; then
+if test x"$GNU_CLASSPATH_ROOT" = x -o ! -d "$GNU_CLASSPATH_ROOT"; then
   echo "Error! Cannot find GNU Classpath installed."
   exit
 fi
-- 
1.6.0.6


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to