[
https://issues.apache.org/jira/browse/CASSANDRA-2965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
paul cannon updated CASSANDRA-2965:
-----------------------------------
Attachment: 0002-improve-general-sh-compatibility.patch.txt
0001-Solaris-bin-sh-compatibility.patch.txt
0001: just Kjell's original patch, rebased after #2785
0002: several other places where it would be a good idea for general
compatibility or safety to quote shell variables
I don't have access to a Solaris machine to actually test, but this works under
dash, and I'm pretty confident it's good. Kjell, would you mind giving it a few
extra tests on actual Solaris?
> Allow cassandra to start on a Solaris machine.
> ----------------------------------------------
>
> Key: CASSANDRA-2965
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2965
> Project: Cassandra
> Issue Type: Improvement
> Components: Packaging
> Affects Versions: 0.8.2
> Environment: Solaris 10/SunOS 5.10, x86 architecture.
> Reporter: Kjell Andreassen
> Assignee: Kjell Andreassen
> Priority: Trivial
> Fix For: 0.8.3
>
> Attachments: 0001-Solaris-bin-sh-compatibility.patch.txt,
> 0002-improve-general-sh-compatibility.patch.txt, cassandra-0.8.2-2965.txt
>
>
> Cassandra ($CASSANDRA_HOME/bin/cassandra) fails to start with a series of
> errors, fixing one reveals the next.
> These are the errors:
> bin/cassandra: syntax error at line 27: `system_memory_in_mb=$' unexpected
> bin/cassandra: syntax error at line 100: `check_openjdk=$' unexpected
> bin/cassandra: test: argument expected
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira