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

Raphael Geissert atomo64 at gmail.com
Sat Dec 6 14:49:48 UTC 2014


Hi,

On Saturday 06 December 2014 15:08:56 Emmanuel Bourg wrote:
> 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 '>' ?

Yes, it even looks like the first part was just a typo or a leftover.

Cheers,
-- 
Raphael Geissert



More information about the pkg-java-maintainers mailing list