Commit 55ed0bdf authored by Dave Syer's avatar Dave Syer

Fix problem locating spring home

parent 45206d60
......@@ -47,7 +47,8 @@ if [ ! -f "${JAVA_HOME}/bin/java" ]; then
fi
if [ "$SPRING_HOME" == "" ]; then
SPRING_HOME=`cd "$(dirname $0)"/.. && pwd`
script=`readlink $0`
SPRING_HOME=`cd "$(dirname $script)"/.. && pwd`
else
if [ ! -d "${SPRING_HOME}" ]; then
echo "Not a directory: SPRING_HOME=${SPRING_HOME}"
......
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