Commit c96455f7 authored by Andy Wilkinson's avatar Andy Wilkinson

Remove . from CLI's classpath on Unix-like platforms

Previously, the spring bash script added . to the classpath but the
Windows spring.bat script did not. This commit aligns the classpath
of the two scripts by removing . from the classpath in the bash
script.

Fixes gh-19910
parent 020a47ba
......@@ -99,7 +99,7 @@ if [ ! -d "${SPRING_HOME}" ]; then
exit 2
fi
CLASSPATH=.:${SPRING_HOME}/bin
CLASSPATH=${SPRING_HOME}/bin
if [ -d "${SPRING_HOME}/ext" ]; then
CLASSPATH=$CLASSPATH:${SPRING_HOME}/ext
fi
......
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