Your message dated Thu, 7 Feb 2008 11:43:55 +0100
with message-id <[EMAIL PROTECTED]>
and subject line [Pkg-aide-maintainers] Bug#464485: aide-common: bashism in 
/bin/sh script
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: aide-common
Severity: important
Version: 0.13.1-8
User: [EMAIL PROTECTED]
Usertags: goal-dash

Hello maintainer,

While performing an archive wide checkbashisms (from the 'devscripts' package) 
check I've found your package containing a /bin/sh script making 
use of a bashism.

checkbashisms' output:
> possible bashism in ./usr/sbin/aideinit line 129 ('$(< foo)' should be
> '$(cat foo)'): if [ "$(< /var/log/aide/aideinit.errors wc -l)" -gt 0 ];
> then


Not using bash as /bin/sh would lead to errors. Please be aware that although 
bash is currently the default /bin/sh there's a release goal for Lenny to 
make dash the default /bin/sh[1].

If you want more information about dash as /bin/sh, you can read:
http://lists.debian.org/debian-release/2008/01/msg00189.html
https://wiki.ubuntu.com/DashAsBinSh

[1]http://release.debian.org/lenny/goals.txt

Thank you,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



--- End Message ---
--- Begin Message ---
On Wed, Feb 06, 2008 at 11:22:11PM -0600, Raphael Geissert wrote:
> While performing an archive wide checkbashisms (from the 'devscripts' 
> package) 
> check I've found your package containing a /bin/sh script making 
> use of a bashism.
> 
> checkbashisms' output:
> > possible bashism in ./usr/sbin/aideinit line 129 ('$(< foo)' should be
> > '$(cat foo)'): if [ "$(< /var/log/aide/aideinit.errors wc -l)" -gt 0 ];
> > then

That is a false alarm, the line in question does not use $(< foo), but
$(< foo command), which is a valid construct and works at least in
dash and bash.

May I suggest not using the latest and greatest checkbashisms script
for mass bug filing until the script has shown to be reasonably bug
free?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190


--- End Message ---

Reply via email to