cocos2d/cocos2d-x — pull request #1137 by folecr (2012-07-27 19:37:57+00:00)
Title: Cleaner build script

I noticed you were cleaning up the directory structure. Now is a good time to clean up the build scripts too :)
I've modified the build_native.sh

* conforms to the Bash manual's recommendations for parameter expansion http://www.gnu.org/software/bash/manual/bashref.html#Shell-Parameter-Expansion
* sensible defaults for COCOS2DX_ROOT, HELLOWORLD_ROOT and HELLOWORLD_ANDROID_ROOT