Bug#683495: Mandating use of /usr/bin/perl in Policy
-=| Bill Allombert, 27.11.2017 21:10:12 +0100 |=-
> Before we make it a must, is there a lintian test for it ?
(Disclaimer: I am not an expert on lintian internals.)
I looked at lintian's collection/scripts file (lines 39-66) and there
doesn't seem to be such a check.
The lines above serve to collect data about the script, and everything
after the interpreter is removed.
Later (checks/scripts.pm, lines 314-316) /usr/bin/env is considered as
an allowed way to avoid specifying absolute path to the interpreter.
A proper check would need to first collect the parameters of the
interpreter (collection/scripts) and later see if /usr/bin/env has
'perl' as argument (check/scripts.pm).
-- dam
Reply to: