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

Bug#762273: lintian: wrong-path-for-interpreter should not trigger on non-executables



Package: lintian
Version: 2.5.27
Severity: normal
X-Debbugs-CC: perl@packages.debian.org

perl currently suffers from this:

E: perl-modules: wrong-path-for-interpreter usr/share/perl/5.20.1/Config/Perl/V.pm (#!/pro/bin/perl != /usr/bin/perl)

Now, whilst it is certainly 'wrong', it's also harmless; a perl module
(ending .pm) should never be executed (and indeed it's not installed
with the executable bit). I imagine that someone put the shebang there
as a hint to a syntax highlighter, or similar.

Carrying around a patch to strip the shebang line seems like the wrong
solution, and there's no generally correct fix to send upstream. Instead,
can this check be updated to only look at files with the executable bit
set?

Thanks,
Dominic.


Reply to: