[Pkg-aide-maintainers] Bug#464485: Bug#464485: aide-common: bashism in /bin/sh script

Raphael Geissert atomo64 at gmail.com
Fri Feb 8 00:44:06 UTC 2008


Package: devscripts
Version: 2.10.15
User: devscripts at packages.debian.org
Usertags: checkbashisms

Hello Marc and devscripts maintainers,

On 07/02/2008, Marc Haber <mh+debian-packages at zugschlus.de> wrote:
> 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?

Thanks for pointing that out, hopefully someone will fix checkbashisms.
I'm taking the risk of using the latest checkbashisms because I'm
manually reviewing each and every report I fill. But please note that
I was not aware of that construct being valid (or at least working) so
I filled the report anyway.

There are some other, possible, bugs on checkbashisms on its detection
of kill being called with a numeric value which I'll report as soon as
I confirm it is a bug.

>
> 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
>

Cheers,
-- 
Atomo64 - Raphael

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

Say NO to Microsoft Office broken standard.
See http://www.noooxml.org/petition





More information about the Pkg-aide-maintainers mailing list