Commit 40dcfe28 authored by Andrew Wright's avatar Andrew Wright Committed by andrew

debugging


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@378 b35dd754-fafc-0310-a699-88a17e54d16e
parent f90dc246
...@@ -25,16 +25,13 @@ if [ -z "$MESSENGER_HOME" -o ! -d "$MESSENGER_HOME" ]; then ...@@ -25,16 +25,13 @@ if [ -z "$MESSENGER_HOME" -o ! -d "$MESSENGER_HOME" ]; then
if [ -d /opt/messenger ] ; then if [ -d /opt/messenger ] ; then
MESSENGER_HOME="/opt/messenger" MESSENGER_HOME="/opt/messenger"
fi elif [ -d /usr/local/messenger ] ; then
if [ -d /usr/local/messenger ] ; then
MESSENGER_HOME="/usr/local/messenger" MESSENGER_HOME="/usr/local/messenger"
fi elif [ -d ${HOME}/messenger ] ; then
MESSENGER_HOME="${HOME}/messenger"
if [ -d ${HOME}/opt/messenger ] ; then elif [ -d ${HOME}/opt/messenger ] ; then
MESSENGER_HOME="${HOME}/opt/messenger" MESSENGER_HOME="${HOME}/opt/messenger"
fi else
#resolve links - $0 may be a link in messenger's home #resolve links - $0 may be a link in messenger's home
PRG="0" PRG="0"
progname=`basename "$0$"` progname=`basename "$0$"`
...@@ -57,6 +54,7 @@ if [ -z "$MESSENGER_HOME" -o ! -d "$MESSENGER_HOME" ]; then ...@@ -57,6 +54,7 @@ if [ -z "$MESSENGER_HOME" -o ! -d "$MESSENGER_HOME" ]; then
#make it fully qualified #make it fully qualified
MESSENGER_HOME=`cd "$MESSENGER_HOME" && pwd` MESSENGER_HOME=`cd "$MESSENGER_HOME" && pwd`
fi
fi fi
# For Cygwin, ensure paths are in UNIX format before anything is touched # For Cygwin, ensure paths are in UNIX format before anything is touched
...@@ -140,5 +138,9 @@ if $cygwin; then ...@@ -140,5 +138,9 @@ if $cygwin; then
esac esac
fi fi
OLDPWD=`pwd`
cd $MESSENGER_HOME/bin
messenger_exec_command="exec \"$JAVACMD\" $MESSENGER_OPTS -classpath \"$LOCALCLASSPATH\" -jar \"$MESSENGER_LIB\"/startup.jar" messenger_exec_command="exec \"$JAVACMD\" $MESSENGER_OPTS -classpath \"$LOCALCLASSPATH\" -jar \"$MESSENGER_LIB\"/startup.jar"
eval $messenger_exec_command eval $messenger_exec_command
cd $OLDPWD
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