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>
This commit is contained in:
parent
c56d093d12
commit
2c080af9cc
|
@ -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/*
|
||||
|
|
Loading…
Reference in New Issue