8025886: replace [[ and == bash extensions in regtest
Reviewed-by: dsamersoff, sla
This commit is contained in:
parent
3f1dd83c32
commit
4339b3b54f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user