diff --git a/tools/cocos2d-console/bin/cocos b/tools/cocos2d-console/bin/cocos index 87df7d883a13..8fbd6ef6cd61 100755 --- a/tools/cocos2d-console/bin/cocos +++ b/tools/cocos2d-console/bin/cocos @@ -9,6 +9,7 @@ if hash python2 2>/dev/null; then else if hash python 2>/dev/null; then VERSION="python --version" + PYTHON=python else echo "Python 2+ required." exit 1