Re: Lintian reported a error by mistake
On Tuesday 01 April 2003 02:07, Michelle Ribeiro wrote:
> Hi, guys,
>
> The lintian report tell:
>
> E: snare: description-starts-with-package-name
> N:
> N: The first line of the "Description:" should not start with the package
> N: name. For example, the package foo should not have a description like
> N: this: `foo is a program that...'.
>
<snip out his control file>
> I guess this a mistake.
>
The offending code is this (from /usr/share/lintian/checks/description):
if ($synopsis =~ m/^\s*$ppkg\b/i) {
print "E: $pkg $type: description-starts-with-package-name\n";
}
Is my perl really getting that bad or does this code look perfectly fine?
Reply to: