[closures-dev] Naming bourne shell in scripts causes failure on solaris

Neal Gafter neal at gafter.com
Sat Apr 26 14:24:26 PDT 2008

Thanks for reporting this.  I'd prefer to modify the script to be legal for
both shells.

2008/4/26 Steven Reynolds <steven.lamar.reynolds at gmail.com>:

> When I run the included bin/java on OpenSolaris, this script gives me the
> following error
> ./java: syntax error at line 3: `CLOSURES=$' unexpected
> This is caused by the bang pound majick calling for the bourne shell
> instead of bash. Bourne and bash are actually differnet on solaris.
> Attached are the changes to fix: explicitly name bash.
> --
> Steven Reynolds
> steven.lamar.reynolds at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/closures-dev/attachments/20080426/1bc29434/attachment.html 

More information about the closures-dev mailing list