Skip to content
Snippets Groups Projects
Commit a38ff480 authored by felmer's avatar felmer
Browse files

SP-421, BIS-281: bug in share-manager.sh fixed

SVN: 28408
parent 475f96d7
No related branches found
No related tags found
No related merge requests found
...@@ -6,15 +6,16 @@ BASE=`dirname "$0"` ...@@ -6,15 +6,16 @@ BASE=`dirname "$0"`
if [ ${BASE#/} == ${BASE} ]; then if [ ${BASE#/} == ${BASE} ]; then
BASE="`pwd`/${BASE}" BASE="`pwd`/${BASE}"
fi fi
cd "$BASE"
CONFFILE=etc/datastore_server.conf CONFFILE=etc/datastore_server.conf
LIB_FOLDER=lib LIB_FOLDER=lib
test -f $CONFFILE && source $CONFFILE test -f $CONFFILE && source $CONFFILE
if [ "$JAVA_HOME" != "" ]; then if [ "$JAVA_HOME" != "" ]; then
JAVA_BIN="$JAVA_HOME/bin/java" JAVA_BIN="$JAVA_HOME/bin/java"
else else
JAVA_BIN="java" JAVA_BIN="java"
fi fi
CP=`echo $LIB_FOLDER/datastore_server.jar $LIB_FOLDER/*.jar | sed 's/ /:/g'` CP=`echo $LIB_FOLDER/datastore_server.jar $LIB_FOLDER/*.jar | sed 's/ /:/g'`
"$JAVA_BIN" $JAVA_OPTS -classpath $CP ch.systemsx.cisd.openbis.dss.client.admin.ShareManagerApplication "$JAVA_BIN" $JAVA_OPTS -classpath $CP ch.systemsx.cisd.openbis.dss.client.admin.ShareManagerApplication "$@"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment