cassandra: fix jamm path for nodetool.
Closes Homebrew/homebrew#26795. Closes Homebrew/homebrew#27657. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
b49035981b
commit
6d231c8f7c
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@ class Cassandra < Formula
|
|||
s.gsub! "CASSANDRA_CONF=\"$CASSANDRA_HOME/conf\"", "CASSANDRA_CONF=\"#{etc}/cassandra\""
|
||||
# Jars installed to prefix, no longer in a lib folder
|
||||
s.gsub! "\"$CASSANDRA_HOME\"/lib/*.jar", "\"$CASSANDRA_HOME\"/*.jar"
|
||||
# The jammm Java agent is not in a lib/ subdir either:
|
||||
s.gsub! "JAVA_AGENT=\"$JAVA_AGENT -javaagent:$CASSANDRA_HOME/lib/jamm-", "JAVA_AGENT=\"$JAVA_AGENT -javaagent:$CASSANDRA_HOME/jamm-"
|
||||
end
|
||||
|
||||
rm Dir["bin/*.bat"]
|
||||
|
|
Loading…
Reference in a new issue