Bug#690633: libnb-platform13-java: bashism in /bin/sh script

Raphael Geissert atomo64 at gmail.com
Tue Oct 16 04:09:08 UTC 2012


Package: libnb-platform13-java
Version: 7.0.1+dfsg1-5
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 ./usr/share/netbeans/platform13/lib/nbexec line 183
>(should be >word 2>&1):
>if "${jdkhome}/bin/java" -XX:+HeapDumpOnOutOfMemoryError &> /dev/null 2>&1
>; 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:
https://wiki.ubuntu.com/DashAsBinSh

Thank you,
Raphael Geissert



More information about the pkg-java-maintainers mailing list