KEYCLOAK-10974 Add quotes in kcreg.bat to allow installation dir with spaces

This commit is contained in:
stianst 2020-01-06 10:36:55 +01:00 committed by Stian Thorgersen
parent f926529767
commit 80187b54ff

View file

@ -5,4 +5,4 @@ if "%OS%" == "Windows_NT" (
) else (
set DIRNAME=.\
)
java %KC_OPTS% -cp %DIRNAME%\client\keycloak-client-registration-cli-${project.version}.jar org.keycloak.client.registration.cli.KcRegMain %*
java %KC_OPTS% -cp "%DIRNAME%\client\keycloak-client-registration-cli-${project.version}.jar" org.keycloak.client.registration.cli.KcRegMain %*