mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

dugan
25.00.2007 4bb127a7bb0c42929932514697f732967e396a66
opendj-sdk/opends/resource/setup.bat
@@ -29,11 +29,14 @@
rem check that the path does not contain the ^% character which breaks
rem the batch files.
set NON_ESCAPED=%~dPs0..
for %%i in (%~sf0) do set NON_ESCAPED=%%~dPsi..
FOR /F "tokens=1-2* delims=%%" %%1 IN ("%NON_ESCAPED%") DO (
if NOT "%%2" == "" goto invalidPath)
set DIR_HOME=%~dP0.
for %%i in (%~sf0) do set DIR_HOME=%%~dPsi.
set INSTANCE_ROOT=%DIR_HOME%
:checkJavaBin