This error would appear to be caused by empty lines at the end of the
doc-base file. This patch fixes the false positives (I also found the
same problem with mergeant-doc) without causing errors with packages
that are unaffected (like libglib2.0-doc).
--- ../lintian.old/checks/menus 2007-05-28 18:13:17.000000000 +0100
+++ checks/menus 2007-05-28 18:13:37.000000000 +0100
@@ -221,7 +221,7 @@
} elsif (defined ($_) && /^\s/ && $field) {
push (@files, split ' ');
}
- if (!defined ($_) || /^$/) {
+ if (!defined ($_)) {
tag "doc-base-file-no-format", "$dbfile:$."
unless $format || $sawdocument;
if ($format && ($format eq 'html' || $format eq 'info')) {
--
Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/
Attachment:
pgpU21VR5Kytw.pgp
Description: PGP signature