[Ml-yokadi] Fwd: Bug#547766: yokadi: bashism in /bin/sh script

Kartik Mistry kartik.mistry at gmail.com
Tue Sep 22 06:50:11 CEST 2009


forwarded 547766 ml-yokadi at sequanux.org
thanks

Hi,

Please consider fixing it in next release.

Thanks.

---------- Forwarded message ----------
From: Raphael Geissert <atomo64 at gmail.com>
Date: Tue, Sep 22, 2009 at 9:34 AM
Subject: Bug#547766: yokadi: bashism in /bin/sh script
To: maintonly at bugs.debian.org

Package: yokadi
Severity: important
Version: 0.10.0-2
User: debian-release at lists.debian.org
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/bin/xyokadi line 15 (should be 'b = a'):
>     if [ $? == 0 ]; then


Not using bash (or a Debian Policy conformant shell interpreter which doesn't
provide such an extra feature) as /bin/sh is likely to lead to errors or
unexpected behaviours. Please be aware that dash is now the default /bin/sh.

Hints about how to fix bashisms can be found at:
https://wiki.ubuntu.com/DashAsBinSh

If you still don't know how to fix the bashisms don't hesitate to reply to
this email, or tag the bug as 'help'.

Thank you,
Raphael Geissert

-- 
 Cheers,
 Kartik Mistry | 0xD1028C8D | IRC: kart_
 Debian GNU/Linux Developer | Identica: @kartikm
 Blogs: {ftbfs, kartikm}.wordpress.com


More information about the Ml-yokadi mailing list