[closures-dev] Naming bourne shell in scripts causes failure on solaris
Steven Reynolds
steven.lamar.reynolds at gmail.com
Sat Apr 26 08:19:17 PDT 2008
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/b595fe8b/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: useBash.patch
Type: text/x-patch
Size: 1162 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/closures-dev/attachments/20080426/b595fe8b/attachment.bin
More information about the closures-dev
mailing list