From 2c080af9cc0bc551120aead4bd413d55ea19a4f0 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Thu, 5 May 2011 10:23:46 -0500 Subject: [PATCH] system/apache-cassandra: Fixed a bug in profile script creation Thanks to bapa on IRC for the report and patch. Signed-off-by: Robby Workman --- system/apache-cassandra/apache-cassandra.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/apache-cassandra/apache-cassandra.SlackBuild b/system/apache-cassandra/apache-cassandra.SlackBuild index a6822e1372..7bd62079c5 100644 --- a/system/apache-cassandra/apache-cassandra.SlackBuild +++ b/system/apache-cassandra/apache-cassandra.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=apache-cassandra VERSION=0.6.12 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} ARCH=noarch @@ -70,14 +70,14 @@ cat << EOF > $PKG/etc/profile.d/$PRGNAM.csh #!/bin/csh setenv CASSANDRA_HOME /opt/$PRGNAM setenv CASSANDRA_CONF /etc/$PRGNAM -setenv CASSANDRA_INCLUDE "$CASSANDRA_CONF/cassandra.in.sh" +setenv CASSANDRA_INCLUDE "\$CASSANDRA_CONF/cassandra.in.sh" EOF cat << EOF > $PKG/etc/profile.d/$PRGNAM.sh #!/bin/sh export CASSANDRA_HOME=/opt/$PRGNAM export CASSANDRA_CONF=/etc/$PRGNAM -export CASSANDRA_INCLUDE="$CASSANDRA_CONF/cassandra.in.sh" +export CASSANDRA_INCLUDE="\$CASSANDRA_CONF/cassandra.in.sh" EOF chmod 0755 $PKG/etc/profile.d/*