diff options
Diffstat (limited to 'system/apache-cassandra/apache-cassandra.SlackBuild')
-rw-r--r-- | system/apache-cassandra/apache-cassandra.SlackBuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/system/apache-cassandra/apache-cassandra.SlackBuild b/system/apache-cassandra/apache-cassandra.SlackBuild index 3eddc2ba7bfe1..e4fe2c0a461b0 100644 --- a/system/apache-cassandra/apache-cassandra.SlackBuild +++ b/system/apache-cassandra/apache-cassandra.SlackBuild @@ -24,19 +24,18 @@ # based on apache-tomcat.SlackBuild by Heinz Wiesinger and Vincent Batts +# 20230807 bkw: Modified by SlackBuilds.org, BUILD=2: fix csh profile script. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM="apache-cassandra" -VERSION=${VERSION:-4.0.1} +VERSION=${VERSION:-4.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} ARCH="noarch" -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -77,10 +76,10 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat << EOF > $PKG/etc/profile.d/$PRGNAM.csh #!/bin/csh -setenv CASSANDRA_HOME="/opt/$PRGNAM" -setenv CASSANDRA_CONF="\$CASSANDRA_HOME/conf" -setenv CASSANDRA_INCLUDE="\$CASSANDRA_HOME/tools/bin/cassandra.in.sh" -setenv PATH="\$PATH:\$CASSANDRA_HOME/bin" +setenv CASSANDRA_HOME "/opt/$PRGNAM" +setenv CASSANDRA_CONF "\${CASSANDRA_HOME}/conf" +setenv CASSANDRA_INCLUDE "\${CASSANDRA_HOME}/tools/bin/cassandra.in.sh" +setenv PATH "\${PATH}:\${CASSANDRA_HOME}/bin" EOF cat << EOF > $PKG/etc/profile.d/$PRGNAM.sh |