bash -o igncr /Users/minggo/SourceCode/cocos2d-x/samples/Cpp/HelloCpp/proj.android/build_native.sh 
bash: line 0: bash: igncr: invalid option name

The erro message when running on mac.