[Debian-med-packaging] Bug#581106: gnumed-client-de: bashism in /bin/sh script

Raphael Geissert atomo64 at gmail.com
Tue May 11 05:20:23 UTC 2010


Package: gnumed-client-de
Severity: important
Version: 0.7.2-1
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/sbin/gm-install_arriba line 44 (read with option
> other than -r):
> read -e -p "Alte ARRIBA-Versionen entfernen ? [j/N]: "
> possible bashism in ./usr/sbin/gm-install_arriba line 44 (read without
> variable):
> read -e -p "Alte ARRIBA-Versionen entfernen ? [j/N]: "
> possible bashism in ./usr/sbin/gm-install_arriba line 45 (should be 'b =
> a'):
> if test "${REPLY}" == "j" ; then


Not using bash (or a Debian Policy compliant shell interpreter that 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






More information about the Debian-med-packaging mailing list