Bug#598546: lintian: unsubstituted #!perl
Hi,
Kevin Ryde wrote:
> Lintian could helpfully report when an executable script contains
> #!perl, since it won't run.
>
[...]
>
> I would go further in fact and report /usr/share/doc/*/examples/* files
> which start #!perl too, executable or not, as an apparently
> unsubstituted MakeMaker form which on a Debian system really ought to be
> #!/usr/bin/perl.
I think both scenarios are covered by
wrong-path-for-interpreter[1]
and
example-wrong-path-for-interpreter[2]
The very example you mentioned is already reported by lintian:
> ./usr/share/doc/libbit-vector-perl/examples/primes.pl (#!perl !=
> /usr/bin/perl)
[1]http://lintian.debian.org/tags/wrong-path-for-interpreter.html
[2]http://lintian.debian.org/tags/example-wrong-path-for-interpreter.html
Or am I missing something?
Cheers,
--
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
Reply to: