summarylogtreecommitdiffstats
path: root/01_fix_cassandra_home_path.patch
diff options
context:
space:
mode:
Diffstat (limited to '01_fix_cassandra_home_path.patch')
-rw-r--r--01_fix_cassandra_home_path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/01_fix_cassandra_home_path.patch b/01_fix_cassandra_home_path.patch
new file mode 100644
index 000000000000..29580072922f
--- /dev/null
+++ b/01_fix_cassandra_home_path.patch
@@ -0,0 +1,11 @@
+--- bin/cassandra.in.sh.orig 2013-08-01 22:09:39.303556219 +0200
++++ bin/cassandra.in.sh 2013-08-01 22:10:17.007406989 +0200
+@@ -15,7 +15,7 @@
+ # limitations under the License.
+
+ if [ "x$CASSANDRA_HOME" = "x" ]; then
+- CASSANDRA_HOME="`dirname "$0"`/.."
++ CASSANDRA_HOME="/usr/share/cassandra"
+ fi
+
+ # The directory where Cassandra's configs live (required)