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`
|
OS=`uname -s`
|
||||||
UMASK=`umask`
|
UMASK=`umask`
|
||||||
|
|
||||||
if [[ $OS == CYGWIN_NT* ]] ; then
|
case $OS in
|
||||||
|
CYGWIN_NT*)
|
||||||
OS="Windows_NT"
|
OS="Windows_NT"
|
||||||
if [ -z "$SystemRoot" ] ; then
|
if [ -z "$SystemRoot" ] ; then
|
||||||
SystemRoot=$SYSTEMROOT
|
SystemRoot=$SYSTEMROOT
|
||||||
fi
|
fi
|
||||||
fi
|
esac
|
||||||
|
|
||||||
case $OS in
|
case $OS in
|
||||||
SunOS | Linux | Darwin)
|
SunOS | Linux | Darwin)
|
||||||
|
Loading…
Reference in New Issue
Block a user