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

Bug#392587: lintian: doc-base check: shell glob not correctly expanded



Lionel Elie Mamane <lionel@mamane.lu> writes:

> Package: lintian
> Version: 1.23.24
> Severity: normal

> lintian triggers an error on scsh-doc-0.6 (source scsh-0.6), while I
> don't see any problem:

> E: scsh-0.6-doc: doc-base-file-references-missing-file scsh:8 /usr/share/doc/scsh-0.6-doc/scsh-manual/html/*.{html,css,gif}
> E: scsh-0.6-doc: doc-base-file-references-missing-file scsh-paper:8 /usr/share/doc/scsh-0.6-doc/scsh-paper/html/*.{html,css}

The doc-base documentation isn't horribly clear, so right now lintian is
erring on the side of caution and assuming that "shell globs" only means
something that works with a POSIX shell.  {} globs are a bashism (or
possibly a Kornish, but either way, same effect), so the warning is
currently intentional.

I'm happy to change lintian if the doc-base specification intended to
allow this, but right now it's really unclear.  The right course of action
may be to reassign this bug to doc-base (or to both doc-base and lintian)
and ask the doc-base maintainer to clarify the specification.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: