mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
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
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
PRGNAM=apache-cassandra
|
PRGNAM=apache-cassandra
|
||||||
VERSION=0.6.12
|
VERSION=0.6.12
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
ARCH=noarch
|
ARCH=noarch
|
||||||
|
@ -70,14 +70,14 @@ cat << EOF > $PKG/etc/profile.d/$PRGNAM.csh
|
||||||
#!/bin/csh
|
#!/bin/csh
|
||||||
setenv CASSANDRA_HOME /opt/$PRGNAM
|
setenv CASSANDRA_HOME /opt/$PRGNAM
|
||||||
setenv CASSANDRA_CONF /etc/$PRGNAM
|
setenv CASSANDRA_CONF /etc/$PRGNAM
|
||||||
setenv CASSANDRA_INCLUDE "$CASSANDRA_CONF/cassandra.in.sh"
|
setenv CASSANDRA_INCLUDE "\$CASSANDRA_CONF/cassandra.in.sh"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat << EOF > $PKG/etc/profile.d/$PRGNAM.sh
|
cat << EOF > $PKG/etc/profile.d/$PRGNAM.sh
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
export CASSANDRA_HOME=/opt/$PRGNAM
|
export CASSANDRA_HOME=/opt/$PRGNAM
|
||||||
export CASSANDRA_CONF=/etc/$PRGNAM
|
export CASSANDRA_CONF=/etc/$PRGNAM
|
||||||
export CASSANDRA_INCLUDE="$CASSANDRA_CONF/cassandra.in.sh"
|
export CASSANDRA_INCLUDE="\$CASSANDRA_CONF/cassandra.in.sh"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
chmod 0755 $PKG/etc/profile.d/*
|
chmod 0755 $PKG/etc/profile.d/*
|
||||||
|
|
Loading…
Reference in a new issue