Handle possible special characters in a path to kc.bat (#27363)
* enclose the DIRNAME variable in double quotes Closes #19294 Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
This commit is contained in:
parent
d7c6464ad6
commit
b9d92075ae
1 changed files with 1 additions and 1 deletions
2
quarkus/dist/src/main/content/bin/kc.bat
vendored
2
quarkus/dist/src/main/content/bin/kc.bat
vendored
|
@ -14,7 +14,7 @@ if "%OS%" == "Windows_NT" (
|
||||||
)
|
)
|
||||||
|
|
||||||
if "%OS%" == "Windows_NT" (
|
if "%OS%" == "Windows_NT" (
|
||||||
set DIRNAME=%~dp0%
|
set "DIRNAME=%~dp0"
|
||||||
) else (
|
) else (
|
||||||
set DIRNAME=.\
|
set DIRNAME=.\
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue