diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-05-05 10:23:46 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-05-05 10:23:46 -0500 |
commit | 2c080af9cc0bc551120aead4bd413d55ea19a4f0 (patch) | |
tree | 60c0271334248ae61320640bffd0ffaa51864f95 /system/apache-cassandra | |
parent | c56d093d12408b1008ef203133676051caebee0a (diff) |
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/apache-cassandra')
-rw-r--r-- | system/apache-cassandra/apache-cassandra.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/apache-cassandra/apache-cassandra.SlackBuild b/system/apache-cassandra/apache-cassandra.SlackBuild index a6822e137229..7bd62079c59d 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/* |