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

Ludovic Poitou
26.17.2015 2d3f6adb2b5bf88672690272f507bdb5b45de488
opendj-server-legacy/resource/upgrade.bat
@@ -43,7 +43,7 @@
set INSTANCE_ROOT=%CD%
cd /d %CUR_DIR%
set DIR_CLASSES="%INSTANCE_ROOT%classes"
set DIR_CLASSES="%INSTANCE_ROOT%\classes"
rem The upgrade is not compatible with patches. If the folder is not empty
rem we renamed it as "classes.disabled", and the upgrade process should be launched properly.
IF EXIST "%DIR_CLASSES%" (
@@ -52,7 +52,7 @@
goto end
:renamePatchesFolder
move /-Y "%DIR_CLASSES%" "%INSTANCE_ROOT%classes.disabled" > nul
move /-Y "%DIR_CLASSES%" "%INSTANCE_ROOT%\classes.disabled" > nul
mkdir %DIR_CLASSES%
:end