[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#690626: ax25-tools: bashism in /bin/sh script



Package: ax25-tools
Version: 0.0.10-rc2+cvs20120204-3
Severity: important
User: debian-release@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/rsusers line 9 (echo -e):
>echo -en "Linux/ROSE 001. AX.25, NET/ROM and ROSE Users.\r"
>possible bashism in ./usr/sbin/rsusers line 46 (echo -e):
>        echo -en "\r"
>possible bashism in ./usr/sbin/rsusers line 84 (echo -e):
>        echo -en "\r"
>possible bashism in ./usr/sbin/rsusers line 122 (echo -e):
>        echo -en "\r"
>possible bashism in ./usr/sbin/rsusers line 125 (read without variable):
>read

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.

You can find hints about how to fix bashisms at:
https://wiki.ubuntu.com/DashAsBinSh

Thank you,
Raphael Geissert


Reply to: