mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-05 22:39:52 -06:00
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:
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" (
|
||||
set DIRNAME=%~dp0%
|
||||
set "DIRNAME=%~dp0"
|
||||
) else (
|
||||
set DIRNAME=.\
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user