mirror of https://github.com/axmolengine/axmol.git
use uname -s to invoid warning on mac os
This commit is contained in:
parent
0551e86d80
commit
679dda8ec3
|
@ -19,8 +19,8 @@ fi
|
|||
|
||||
|
||||
# the bash file should not be called by cygwin
|
||||
UNIX_NAME=`uname -s`
|
||||
if [ $UNIX_NAME = "Cygwin" ];then
|
||||
KERNEL_NAME=`uname -s | grep "CYGWIN*"`
|
||||
if [ $KERNEL_NAME"hi" != "hi" ]; then
|
||||
echo "Error!!!"
|
||||
echo "Don't run in cygwin. You should run corresponding bat."
|
||||
exit
|
||||
|
|
Loading…
Reference in New Issue