On Fri, May 04, 2012 at 09:03:55AM +0200, Vincent Bernat wrote: > OoO En cette fin de nuit blanche du vendredi 04 mai 2012, vers 06:11, > Hamish Moffatt <[email protected]> disait : > > > Secondly if node.js is usually just used via #!, I'm not sure why it's in > > $PATH at all - why not in /usr/lib? > > Neither "#!/usr/bin/node" nor "#!/usr/bin/env node" will work then. I have seen a lot of perl scripts in the wild that use #!/usr/local/bin/perl. Users are expected to fix those up themselves. I understand it's an inconvenience, but honestly, if you can't fix up a shebang yourself, you have no business programming at all (and thus using node.js). This is one of the issues that occurs when moving scripts between different systems, just like changing #!/bin/sh to #!/bin/bash for certain scripts coming from RedHat systems. (Full disclosure: I use neither package, although I am more likely in the future to use node.js than the ham package.) -- brian m. carlson / brian with sandals: Houston, Texas, US +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
Attachment:
signature.asc
Description: Digital signature