[pkg-horde] Bug#581465: ingo1: bashism in debian/rules

Raphael Geissert atomo64 at gmail.com
Thu May 13 03:49:59 UTC 2010


Source: ingo1
Version: 1.2.3+debian0-1
Severity: important
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's debian/rules making use of a
bashism.

checkbashisms' output:
> possible bashism in rules line 113 (alternative test command ([[ foo ]] 
> should be [ foo ])):
>	if [[ -e js/prototype.js ] || [ -e js/src/prototype.js ]; 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 pkg-horde-hackers mailing list