diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script b/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script index 247fc278d9b..9171f318e98 100755 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script @@ -57,7 +57,7 @@ if [[ -z "$identity" ]]; then if [[ -n "$init_script" ]]; then identity="${init_script}" else - identity=$(basename "${jarfile%.*}")_${jar_folder//\//} + identity=$(basename "${jarfile%.*}")_${jarfolder//\//} fi fi