freebsd-ports/databases/cassandra3/files/patch-tools_bin_cassandra.in.sh
Yuri Victorovich e9004cc861 databases/cassandra3: Update 3.11.3 -> 3.11.4
PR:		236128
Submitted by:	Angelo Polo <language.devel@gmail.com> (maintainer)
2019-03-20 16:13:04 +00:00

24 lines
1.1 KiB
Bash

--- tools/bin/cassandra.in.sh.orig 2019-02-02 22:06:43 UTC
+++ tools/bin/cassandra.in.sh
@@ -26,9 +26,9 @@ 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/stress"
-cassandra_bin="$cassandra_bin:$CASSANDRA_HOME/build/classes/thrift"
+#cassandra_bin="$CASSANDRA_HOME/build/classes/main"
+#cassandra_bin="$cassandra_bin:$CASSANDRA_HOME/build/classes/stress"
+#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
@@ -39,7 +39,7 @@ cassandra_storagedir="$CASSANDRA_HOME/data"
#JAVA_HOME=/usr/local/jdk6
# The java classpath (required)
-CLASSPATH="$CASSANDRA_CONF:$cassandra_bin"
+CLASSPATH="$CASSANDRA_CONF"
for jar in "$CASSANDRA_HOME"/tools/lib/*.jar; do
CLASSPATH="$CLASSPATH:$jar"