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

Ludovic Poitou
06.58.2016 ba27bd96739f1b48692a897f80cf56a388aa518d
Fix OPENDJ-2595 - Error on Windows, when installing OpenDJ in a split install/instance mode.
Make sure we create the instance directory if it doesn't exist, prior to call cd to that directory.
1 files modified
4 ■■■ changed files
opendj-server-legacy/resource/setup.bat 4 ●●● patch | view | raw | blame | history
opendj-server-legacy/resource/setup.bat
@@ -23,7 +23,7 @@
rem
rem
rem      Copyright 2006-2010 Sun Microsystems, Inc.
rem      Portions Copyright 2011-2012 ForgeRock AS
rem      Portions Copyright 2011-2016 ForgeRock AS
setlocal
@@ -44,6 +44,8 @@
) else (
set INSTANCE_DIR=.
)
if not exist "%INSTANCE_DIR%" mkdir "%INSTANCE_DIR%"
set CUR_DIR=%CD%
cd /d %INSTALL_ROOT%
cd /d %INSTANCE_DIR%