Bug#338005: lintian: Fails to detect "function" bashism in maintainer script.
Package: lintian
Version: 1.23.13
Severity: normal
lintian failed to pick up on a bashism in a maintainer script.
Please see #337761.
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=337761)
--- schroot.orig 2005-11-03 23:15:31.000000000 +0100
+++ schroot 2005-11-06 10:54:17.000000000 +0100
@@ -15,7 +15,7 @@
set -e
-function recover_sessions()
+recover_sessions()
{
echo -n "Recovering schroot sessions... "
for chroot in `schroot --all-sessions --list --quiet`
This was the fix; lintian just didn't check that "function" was used.
Regards,
Roger
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.4
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages lintian depends on:
ii binutils 2.16.1cvs20050902-1 The GNU assembler, linker and bina
ii diffstat 1.41-1 produces graph of changes introduc
ii dpkg-dev 1.13.11 package building tools for Debian
ii file 4.15-2 Determines file type using "magic"
ii gettext 0.14.5-2 GNU Internationalization utilities
ii intltool-debian 0.34.1+20050828 Help i18n of RFC822 compliant conf
ii libparse-debianchang 1.0-1 parse Debian changelogs and output
ii man-db 2.4.3-3 The on-line manual pager
ii perl [libdigest-md5- 5.8.7-7 Larry Wall's Practical Extraction
lintian recommends no packages.
-- no debconf information
Reply to: