diff --git a/spring-boot-cli/src/main/executablecontent/bin/spring b/spring-boot-cli/src/main/executablecontent/bin/spring index c9aec1e479..c13b79b31b 100755 --- a/spring-boot-cli/src/main/executablecontent/bin/spring +++ b/spring-boot-cli/src/main/executablecontent/bin/spring @@ -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