Bug#908350: lintian: wrong-path-for-interpreter needs updating to match policy 4.2.1
Chris Lamb <lamby@debian.org> writes:
> --- a/checks/scripts.desc
> +++ b/checks/scripts.desc
> @@ -198,7 +198,7 @@
> .
> Note that, as a special exception, Debian Policy § 10.4 states that
> - Perl scripts must use <tt>/usr/bin/perl</tt> directly and not
> + Perl scripts should use <tt>/usr/bin/perl</tt> directly and not
> <tt>/usr/bin/env</tt>, etc.
Since we're re-wording, "a special exception" doesn't seem quite right
to me. I'm not sure what rule being discussed it is an exception
to. Perhaps "in particular".
>
>> Also, should it still be an error? Are those only for musts?
>
> Severities are per-tag so a rather ugly separate Perl-specific tag
> would be required for this given that we surely want to loudly if
> someone uses #!/usr/local/bin/python3 or similar.
>
> (Saying that, I personally think people too much weight into the
> difference between severities — parallel to critical vs grave BTS
> "severity wars" — but that might be a losing quixotic battle of
> mine.)
What about a seperate tag for #!/usr/bin/env ? The wording could be more
precise, and it does seem like the current tag conflates two (somewhat
related, but distinct) issues,
Yes, I realize my two suggestions are somewhat contradictory ;).
d
Reply to: