[ovs-dev] Bug#690712: openvswitch-datapath-dkms: bashism in /bin/sh script

Raphael Geissert atomo64 at gmail.com
Tue Oct 16 18:01:10 UTC 2012

Package: openvswitch-datapath-dkms
Version: 1.4.2+git20120612-9
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 containing a /bin/sh script making 
use of a bashism.

checkbashisms' output:
>possible bashism in
> line 181 (alternative test command ([[ foo ]] should be [ foo ])):
>if [[ $# -lt 2 ]]; 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.

You can find hints about how to fix bashisms at:

Thank you,
Raphael Geissert

More information about the dev mailing list