Browse Source

Merge branch '2.1.x'

Closes gh-18084
pull/18089/head
Andy Wilkinson 7 years ago
parent
commit
caa4c165b5
  1. 4
      spring-boot-project/spring-boot-cli/src/main/executablecontent/bin/spring

4
spring-boot-project/spring-boot-cli/src/main/executablecontent/bin/spring

@ -87,10 +87,10 @@ if [ -z "${SPRING_HOME}" ]; then @@ -87,10 +87,10 @@ if [ -z "${SPRING_HOME}" ]; then
fi
done
SAVED="$(pwd)"
cd "$(dirname "${PRG}")/../" >&- || exit 1
cd "$(dirname "${PRG}")/../" > /dev/null || exit 1
SPRING_HOME="$(pwd -P)"
export SPRING_HOME
cd "$SAVED" >&- || exit 1
cd "$SAVED" > /dev/null || exit 1
fi
if [ ! -d "${SPRING_HOME}" ]; then

Loading…
Cancel
Save