[ 
https://issues.apache.org/jira/browse/CASSANDRA-2520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022320#comment-13022320
 ] 

Jackson Chung commented on CASSANDRA-2520:
------------------------------------------

any interest to do it all?

$ grep "x\\$" ./bin/* ./conf/* -r
./bin/cassandra:if [ "x$CASSANDRA_INCLUDE" = "x" ]; then
./bin/cassandra:    if [ "x$pidpath" != "x" ]; then
./bin/cassandra:    if [ "x$foreground" != "x" ]; then
./bin/cassandra-cli:if [ "x$CASSANDRA_INCLUDE" = "x" ]; then
./bin/cassandra.in.sh:if [ "x$CASSANDRA_HOME" = "x" ]; then
./bin/cassandra.in.sh:if [ "x$CASSANDRA_CONF" = "x" ]; then
./bin/clustertool:if [ "x$CASSANDRA_INCLUDE" = "x" ]; then
./bin/json2sstable:if [ "x$CASSANDRA_INCLUDE" = "x" ]; then
./bin/nodetool:if [ "x$CASSANDRA_INCLUDE" = "x" ]; then
./bin/sstable2json:if [ "x$CASSANDRA_INCLUDE" = "x" ]; then
./bin/sstablekeys:if [ "x$CASSANDRA_INCLUDE" = "x" ]; then
./conf/cassandra-env.sh:if [ "x$MAX_HEAP_SIZE" = "x" ] && [ "x$HEAP_NEWSIZE" = 
"x" ]; then
./conf/cassandra-env.sh:    if [ "x$MAX_HEAP_SIZE" = "x" ] ||  [ 
"x$HEAP_NEWSIZE" = "x" ]; then
./conf/cassandra-env.sh:JVM_OPTS="$JVM_OPTS -Xmx${MAX_HEAP_SIZE}"


> use -z to test for empty variables to make sh and dash happy
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-2520
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2520
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.5
>
>         Attachments: 2520-0.7.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to