Commit 3679d972 authored by Günther Niess's avatar Günther Niess Committed by niess

OF-46: Escape paths

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@11552 b35dd754-fafc-0310-a699-88a17e54d16e
parent cc1e9e7d
...@@ -68,7 +68,7 @@ if [ -z "$OPENFIRE_HOME" -o ! -d "$OPENFIRE_HOME" ]; then ...@@ -68,7 +68,7 @@ if [ -z "$OPENFIRE_HOME" -o ! -d "$OPENFIRE_HOME" ]; then
#make it fully qualified #make it fully qualified
OPENFIRE_HOME=`cd "$OPENFIRE_HOME" && pwd` OPENFIRE_HOME=`cd "$OPENFIRE_HOME" && pwd`
fi fi
OPENFIRE_OPTS="${OPENFIRE_OPTS} -DopenfireHome=${OPENFIRE_HOME}" OPENFIRE_OPTS="${OPENFIRE_OPTS} -DopenfireHome=\"${OPENFIRE_HOME}\""
# For Cygwin, ensure paths are in UNIX format before anything is touched # For Cygwin, ensure paths are in UNIX format before anything is touched
...@@ -81,7 +81,7 @@ fi ...@@ -81,7 +81,7 @@ fi
#set the OPENFIRE_LIB location #set the OPENFIRE_LIB location
OPENFIRE_LIB="${OPENFIRE_HOME}/lib" OPENFIRE_LIB="${OPENFIRE_HOME}/lib"
OPENFIRE_OPTS="${OPENFIRE_OPTS} -Dopenfire.lib.dir=${OPENFIRE_LIB}" OPENFIRE_OPTS="${OPENFIRE_OPTS} -Dopenfire.lib.dir=\"${OPENFIRE_LIB}\""
# Override with bundled jre if it exists. # Override with bundled jre if it exists.
if [ -f "$OPENFIRE_HOME/jre/bin/java" ]; then if [ -f "$OPENFIRE_HOME/jre/bin/java" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment