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

Re: Getting dh_install to do what we need

Adam Borowski <kilobyte@angband.pl> writes:

>> > *tadaaaa*
>> > It would need to be a compiled program, since you can’t use scripts in
>> > shebangs.
>> Wrong, you can.
> On Linux and Hurd, yeah.
> On kFreeBSD, you can't.
> But hey, FreeBSD folks learned about basic niceties like tab completion just
> last year, give them a decade or two and you'll have recursive shebangs too.
> Unless we cheat and s|^#!|#!/usr/bin/env |, that is.  This works.

See my workaround in the mail you quoted. "#! /bin/sh $PATH" should work
for kFreeBSD and pretty much anything else out there too. An extra
/bin/sh never hurt anybody!


Reply to: