Export SPRING_HOME for commands to consume if needed

This commit is contained in:
Dave Syer
2014-08-04 15:47:38 -07:00
parent 76729fdf85
commit 0c6a0bde5f

View File

@@ -69,7 +69,7 @@ if [ -z "${SPRING_HOME}" ]; then
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/../" >&-
SPRING_HOME="`pwd -P`"
export SPRING_HOME="`pwd -P`"
cd "$SAVED" >&-
fi