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

Re: Getting dh_install to do what we need

On 09/12/2011 01:40, Gergely Nagy wrote:
> 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!

Except that it forces your interpreter to be written in sh, which Debian doesn't

[1] http://lintian.debian.org/tags/script-with-language-extension.html
[2] http://www.debian.org/doc/debian-policy/ch-files.html#s-scripts

Kind regards,
Loong Jin

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: