/usr/local/bin in $PATH in system scripts?
Ming Hua
minghua at ubuntu.com
Fri May 11 03:10:56 UTC 2007
On Thu, May 10, 2007 at 08:59:19AM -0700, Micah Cowan wrote:
> Fergal Daly wrote:
>
> > You are also implying that everything in /usr/bin that start with
> >
> > #! /usr/bin/{perl,python,...}
> >
> > is wrong and should actually start with
> >
> > #! {perl,python,...}
>
> That doesn't work. #! requires a path.
For the sake of discussion, I think
#!/usr/bin/env perl
will pick up $PATH and is a valid #! line. I also believe this is widely
used.
Ming
2007.05.10
More information about the Ubuntu-devel-discuss
mailing list