Re: hurd does NOT need /hurd
Tollef Fog Heen <tollef@add.no> writes:
> Richard Kettlewell writes:
>> (I think that #! should honor PATH, but it seems unlikely that I'd win
>> that battle.)
>
> which is why #! /usr/bin/env $program is the preferred form.
I'm aware of that. But there's a few problems with that approach:
* it doesn't work if you don't have /usr mounted yet
* if you've installed a new 'env' in /usr/local/bin or ~/bin or
whatever, it still uses the old 'env'
* it reduces the space you've got for the rest of the command line on
systems that limit the length of a #! line
It'd be nice to have a proper fix, rather than a 99%-functional
workaround.
--
http://www.greenend.org.uk/rjk/
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: