ports/databases/cassandra3/files/patch-bin_cassandra.in.sh
Yuri Victorovich bef05937a8 New port: databases/cassandra3: Highly scalable distributed database
Versions 1.X and 2.X existed previously, but were removed due to build issues.

PR:		226377
Submitted by:	Angelo Polo <language.devel@gmail.com>
2019-01-28 06:12:18 +00:00

22 lines
931 B
Bash

--- bin/cassandra.in.sh.orig 2018-03-01 13:35:20 UTC
+++ bin/cassandra.in.sh
@@ -26,8 +26,8 @@ fi
# This can be the path to a jar file, or a directory containing the
# compiled classes. NOTE: This isn't needed by the startup script,
# it's just used here in constructing the classpath.
-cassandra_bin="$CASSANDRA_HOME/build/classes/main"
-cassandra_bin="$cassandra_bin:$CASSANDRA_HOME/build/classes/thrift"
+#cassandra_bin="$CASSANDRA_HOME/build/classes/main"
+#cassandra_bin="$cassandra_bin:$CASSANDRA_HOME/build/classes/thrift"
#cassandra_bin="$CASSANDRA_HOME/build/cassandra.jar"
# the default location for commitlogs, sstables, and saved caches
@@ -38,7 +38,7 @@ cassandra_storagedir="$CASSANDRA_HOME/da
#JAVA_HOME=/usr/local/jdk6
# The java classpath (required)
-CLASSPATH="$CASSANDRA_CONF:$cassandra_bin"
+CLASSPATH="$CASSANDRA_CONF"
for jar in "$CASSANDRA_HOME"/lib/*.jar; do
CLASSPATH="$CLASSPATH:$jar"