From 2bdfe7a8692dc4bd4d6dbdac53e4babc188f413f Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Fri, 21 Nov 2025 21:09:05 +0000
Subject: [PATCH] [#577] Windows upgrading with Upgrade.bat: an error with "" unexpected (#578)

---
 opendj-server-legacy/resource/upgrade.bat |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opendj-server-legacy/resource/upgrade.bat b/opendj-server-legacy/resource/upgrade.bat
index c114ebd..b24f105 100644
--- a/opendj-server-legacy/resource/upgrade.bat
+++ b/opendj-server-legacy/resource/upgrade.bat
@@ -36,7 +36,7 @@
 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%" (
+IF EXIST %DIR_CLASSES% (
   for /F %%i in ('dir /b %DIR_CLASSES%\*.*') do goto renamePatchesFolder
 )
 goto end

--
Gitblit v1.10.0