Bug#772191: armagetronad-dedicated: bashism in /bin/sh script

Raphael Geissert geissert at debian.org
Sat Dec 6 00:09:44 UTC 2014


Package: armagetronad-dedicated
Severity: serious
Version: 0.2.8.3.2-2
User: debian-release at lists.debian.org
Usertags: goal-dash

Hi,

I've ran checkbashisms (from the 'devscripts' package) over the whole
archive and I found that your package has a /bin/sh script that uses a
"bashism".

checkbashisms' output:
> possible bashism in ./usr/games/armagetronad-dedicated line 33 (bash
> arrays, ${name[0|*|@]}):
>     OLDESTSTART=${STARTDATE_LOG[1]}
> possible bashism in ./usr/games/armagetronad-dedicated line 47 (bash
> arrays, ${name[0|*|@]}):
>	  STARTDATE_LOG[$f]=${STARTDATE_LOG[$next]}
> possible bashism in ./usr/games/armagetronad-dedicated line 49 (bash
> arrays, H[0]):
>     STARTDATE_LOG[10]=${STARTDATE}


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 the default /bin/sh.

Please closely examine the above output and the script, and determine
what the proper severity of the bug is, and adjust it accordingly. If
it's important or greater please hurry to get this fixed for jessie.

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

Thanks in advance,
Raphael Geissert



More information about the Pkg-games-devel mailing list