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

Emmanuel Bourg ebourg at apache.org
Sat Dec 6 14:08:56 UTC 2014


Le 06/12/2014 14:03, Raphael Geissert a écrit :

> 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

Hi Raphael,

Thank you for the report. Since you know probably more about
bash/dash/sh than the average Java developer here may I ask what would
be the right syntax in this case please? Is this just a matter of
replacing '&>' with '>' ?

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list