test/jdk/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh
changeset 53106 6c3407eee455
parent 50861 2b7d0e9405cf
child 54987 2ffbc00d87ae
--- a/test/jdk/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh	Fri Dec 28 16:31:11 2018 -0500
+++ b/test/jdk/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh	Fri Dec 28 15:19:14 2018 -0800
@@ -34,12 +34,13 @@
 OS=`uname -s`
 UMASK=`umask`
 
-if [[ $OS == CYGWIN_NT* ]] ; then
+case $OS in
+CYGWIN_NT*)
     OS="Windows_NT"
     if [ -z "$SystemRoot" ] ;  then
         SystemRoot=`cygpath $SYSTEMROOT`
     fi
-fi
+esac
 
 case $OS in
 SunOS | Linux | Darwin | AIX )