Bug#499847: lintian: command-with-path false positives with 'case' construct
Package: lintian
Version: 2.0.0~rc2
Severity: normal
Hi lintian maintainers,
See
http://git.debian.org/?p=pkg-xorg/xsfbs.git;a=blob;f=debian/xsfbs/xsfbs.sh;h=72efa950d3276968f8405e8fecc32ea5a4572e77;hb=HEAD#l213
The following construct:
case $foo in
/usr/bin/bar) baz ;;
esac
gives a command-with-path-in-maintainer-script warning from lintian.
In this particular case, the function should probably be removed as
obsolete, but there might be legitimate uses of this.
Cheers,
Julien
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii diffstat 1.45-2 produces graph of changes introduc
ii dpkg-dev 1.14.22 Debian package development tools
ii file 4.26-1 Determines file type using "magic"
ii gettext 0.17-4 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libparse-debianchan 1.1.1-2 parse Debian changelogs and output
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin
ii man-db 2.5.2-3 on-line manual pager
ii perl [libdigest-sha 5.10.0-14 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
ii libtext-template-perl 1.44-1.2 Text::Template perl module
ii man-db 2.5.2-3 on-line manual pager
-- no debconf information
Reply to: