summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-05-05 10:23:46 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-05-05 10:23:46 -0500
commit2c080af9cc0bc551120aead4bd413d55ea19a4f0 (patch)
tree60c0271334248ae61320640bffd0ffaa51864f95 /system
parentc56d093d12408b1008ef203133676051caebee0a (diff)
downloadslackbuilds-2c080af9cc0bc551120aead4bd413d55ea19a4f0.tar.gz
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 <rworkman@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/apache-cassandra/apache-cassandra.SlackBuild6
1 files 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/*