6877188: some javac shell tests do not work on Windows

Reviewed-by: darcy
This commit is contained in:
Jonathan Gibbons 2009-08-28 14:48:49 -07:00
parent e4158efc0e
commit 45e9a3c1e9
8 changed files with 32 additions and 29 deletions

View file

@ -56,14 +56,10 @@ echo "CLASSPATH=${CLASSPATH}"
# set platform-dependent variables
OS=`uname -s`
case "$OS" in
SunOS | Linux )
NULL=/dev/null
PS=":"
SunOS | Linux | CYGWIN* )
FS="/"
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
;;
* )