Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jgambarios committed Mar 19, 2014
1 parent c524565 commit 587bda3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/shutdown.sh
Expand Up @@ -37,6 +37,7 @@ if [ -r "$RUN_CONF" ]; then
. "$RUN_CONF" 2>/dev/null
fi

DISTRIBUTION_HOME=`cd "$PRGDIR/.." ; pwd`
TOMCAT_HOME=`cd "$PRGDIR/../$SERVER_FOLDER" ; pwd`
DOTCMS_HOME=`cd "$PRGDIR/../$HOME_FOLDER" ; pwd`

Expand All @@ -57,7 +58,7 @@ fi

# Sets DOTSERVER if not specified and changes existing JAVA_OPTS to use it
if [ -z "$DOTSERVER" ]; then
DOTSERVER=`echo "$DOTCMS_HOME" | sed -e 's/\(.*\)\///'`
DOTSERVER=`echo "$DISTRIBUTION_HOME" | sed -e 's/\(.*\)\///'`
fi
export JAVA_OPTS="$JAVA_OPTS -Ddotserver=$DOTSERVER"

Expand Down

0 comments on commit 587bda3

Please sign in to comment.