Commit 308f2db9 authored by Andy Wilkinson's avatar Andy Wilkinson

Polish "Support multiple drives when running CLI using Cygwin"

See gh-17872
parent 584a5629
......@@ -99,13 +99,13 @@ if [ ! -d "${SPRING_HOME}" ]; then
exit 2
fi
[[ $cygwin ]] && SPRINGPATH=$(cygpath "${SPRING_HOME}") || SPRINGPATH=$SPRING_HOME
[[ "${cygwin}" == "true" ]] && SPRINGPATH=$(cygpath "${SPRING_HOME}") || SPRINGPATH=$SPRING_HOME
CLASSPATH=.:${SPRINGPATH}/bin
if [ -d "${SPRINGPATH}/ext" ]; then
CLASSPATH=$CLASSPATH:${SPRINGPATH}/ext
fi
for f in "${SPRINGPATH}"/lib/*; do
[[ $cygwin ]] && LIBFILE=$(cygpath "$f") || LIBFILE=$f
[[ "${cygwin}" == "true" ]] && LIBFILE=$(cygpath "$f") || LIBFILE=$f
CLASSPATH=$CLASSPATH:$LIBFILE
done
......
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