test/java/util/ResourceBundle/Bug6299235Test.sh

Print this page

        

@@ -33,11 +33,11 @@
 case "$OS" in
   SunOS | Linux )
     PATHSEP=":"
     FILESEP="/"
     ;;
-  Windows* )
+  Windows* | CYGWIN* )
     PATHSEP=";"
     FILESEP="\\"
     ;;
   * )
     echo "${OS} is unrecognized system!"

@@ -61,11 +61,11 @@
 else
     JRE_EXT_DIR=${TESTJAVA}${FILESEP}lib${FILESEP}ext
 fi
 
 if [ -d "${JRE_EXT_DIR}" ]; then
-    NEW_EXT_DIR=${JRE_EXT_DIR}${PATHSEP}${TESTSRC}
+    NEW_EXT_DIR="${JRE_EXT_DIR}${PATHSEP}${TESTSRC}"
 else
     NEW_EXT_DIR=${TESTSRC}
 fi
 
 echo "TESTJAVA=${TESTJAVA}"