[
https://issues.apache.org/jira/browse/CASSANDRA-2499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022196#comment-13022196
]
Tyler Hobbs edited comment on CASSANDRA-2499 at 4/20/11 4:28 PM:
-----------------------------------------------------------------
/bin/sh was a link to dash, and the current script seems to work fine with bash.
{noformat}
[ "$java_version" != "*OpenJDK*" ]
{noformat} works for me in both dash and bash.
was (Author: thobbs):
/bin/sh was a link to dash, and the current script seems to work fine with
bash.
[ "$java_version" != "*OpenJDK*" ] works for me in both dash and bash.
> cassandra-env.sh pattern matching for OpenJDK broken in some cases
> ------------------------------------------------------------------
>
> Key: CASSANDRA-2499
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2499
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.8
> Reporter: Tyler Hobbs
> Assignee: Eric Evans
> Fix For: 0.8
>
>
> With bash version 4.1.5, the section of cassandra-env that tries to match the
> JDK distribution seems to have some kind of syntax error. I get the
> following message when running bin/cassandra:
> {noformat}
> bin/../conf/cassandra-env.sh: 99: [[: not found
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira