[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Node.js and it's future in debian

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 <hamish@debian.org> 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

Reply to: