killme2008/gen-node-module — pull request #1 by gwilym (2012-02-13 03:30:17+00:00)
Title: minor tweak to allow gen_module.js to be executable

thanks for the handy script

with this little tweak you can execute the .js directly and node can still parse it just fine

up to you if you want to still use the .sh though but this allowed me to link the js file from ~/bin and run it without hassle (linking to the .sh from ~/bin failed due to pwd differences)