shell script for building TextMate automatically