Skip to content
Snippets Groups Projects
Commit 59359d72 authored by brinn's avatar brinn
Browse files

fix: make passwd.sh find it's JRE

SVN: 20313
parent 4f8652b0
No related branches found
No related tags found
No related merge requests found
...@@ -10,9 +10,10 @@ source "$JETTY_BIN_DIR"/jetty.properties ...@@ -10,9 +10,10 @@ source "$JETTY_BIN_DIR"/jetty.properties
source "$JETTY_BIN_DIR"/openbis.conf source "$JETTY_BIN_DIR"/openbis.conf
cd "$JETTY_BIN_DIR"/.. cd "$JETTY_BIN_DIR"/..
JVM=java
if [ -n "$JAVA_HOME" ]; then if [ -n "$JAVA_HOME" ]; then
JVM="$JAVA_HOME"/bin/java JVM="$JAVA_HOME"/bin/java
else
JVM="`which java`"
fi fi
JETTY_LIB_PATH="$JETTY_BIN_DIR"/../webapps/openbis/WEB-INF/jython-lib JETTY_LIB_PATH="$JETTY_BIN_DIR"/../webapps/openbis/WEB-INF/jython-lib
\ 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