Bug#1017632: lintian: False positive on partial match for bin-sbin-mismatch
Hi Guillem,
Guillem Jover wrote:
> The bin-sbin-mismatch triggers false positives on partial matches such
> as /usr/bin/dpkg-www and /usr/sbin/dpkg-www-installer, or
> /usr/bin/dpkg and /usr/sbin/dpkg-fsys-usrunmess.
Urgs. Thanks! Nice catch!
>
> This is due to the check in lib/Lintian/Check/Files/Contents.pm, where
> it essentially does the following:
>
> perl -E '$str = "/bin/dpkg-www-installer"; \
> say "wrong-match" if $str =~ m{\B/\Qbin/dpkg-www\E\b}x'
>
> I've got false-positives in dpkg and dpkg-www.
So that last \b should be a $, right?
Regards, Axel
--
,''`. | Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
Reply to: