cocos2d/cocos2d-x — pull request #5089 by luisparravicini (2014-01-16 15:39:51+00:00)
Title: genbinding python detection

if PYTHON_BIN is not set, the default value used is /usr/bin
I've added an intermediate step and if PYTHON_BIN is not set, it tries to find python2.7 via "which" and it that fails it defaults to /usr/bin

Issue: http://www.cocos2d-x.org/issues/3732