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

Re: Getting dh_install to do what we need



On 10/12/2011 01:36, Bernd Zeimetz wrote:
> On 12/08/2011 07:00 PM, Chow Loong Jin wrote:
>> 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
>> like[1][2].
>>
>> [1] http://lintian.debian.org/tags/script-with-language-extension.html
>> [2] http://www.debian.org/doc/debian-policy/ch-files.html#s-scripts
> 
> Wrong, debian likes sh if you don't try to use !sh stuff in sh scripts.

I was referring to the fixing of implementation language, rather than sh itself.

-- 
Kind regards,
Loong Jin

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: