8025886: replace [[ and == bash extensions in regtest

Reviewed-by: dsamersoff, sla
This commit is contained in:
Ivan Gerasimov 2014-01-20 19:23:22 +04:00
parent 3f1dd83c32
commit 4339b3b54f

View File

@ -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=$SYSTEMROOT
SystemRoot=$SYSTEMROOT
fi
fi
esac
case $OS in
SunOS | Linux | Darwin)