On Fri, 2010-12-17 at 23:31 +0100, Joerg Jaspert wrote:
> On 12331 March 1977, Adam D. Barratt wrote:
[...]
> >> w3m
> >> http://lintian.debian.org/tags/install-info-used-in-maintainer-script.html
> >> | awk '/[(]binary[)]$/ {print $1}'
> > if you want the list of tags used by ftp-master to
> > auto-reject packages, you need to convince them, not us.
[...]
> But lintian could sure go already and make this E, its "Severity:
> normal, Certainty: possible" a Warning now.And Certainty only possible,
> does that mean we get false-positives?
Yep. lintian's shell-script parsing isn't really very smart. In this
case, after removing comments, we simply look for "\binstall-info\b"
occurring anywhere within a line.
Most of the time this will probably be explicit calls to install-info
but it would also catch things like
if [ old dpkg version ]; then
install-info blah
fi
or
foo-script > install-info
The latter is probably quite unlikely in maintainer scripts and there
are probably better examples of FPs, but they're the couple that
immediately came to mind.
Regards,
Adam
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive:
http://lists.debian.org/[email protected]