From 7ab81fa36b6f7f502882c3a52c436611038de9e8 Mon Sep 17 00:00:00 2001
From: pvarga <pvarga@opentext.com>
Date: Mon, 11 Jul 2016 23:09:22 +0000
Subject: [PATCH] OPENDJ-1976 setup.bat doesn't work without 8.3 format

---
 opendj-ldap-toolkit/src/main/assembly/bat/ldapcompare.bat        |   44 ++--
 opendj-ldap-toolkit/src/main/assembly/bat/makeldif.bat           |   42 ++--
 opendj-ldap-toolkit/src/main/assembly/bat/ldifdiff.bat           |   42 ++--
 opendj-ldap-toolkit/src/main/assembly/bat/ldapsearch.bat         |   44 ++--
 opendj-ldap-toolkit/src/main/assembly/bat/ldappasswordmodify.bat |   44 ++--
 opendj-ldap-toolkit/src/main/assembly/bat/authrate.bat           |   44 ++--
 opendj-ldap-toolkit/src/main/assembly/bat/addrate.bat            |   44 ++--
 opendj-ldap-toolkit/src/main/assembly/bat/modrate.bat            |   44 ++--
 opendj-ldap-toolkit/src/main/assembly/bat/ldapmodify.bat         |   44 ++--
 opendj-ldap-toolkit/src/main/assembly/bat/ldifmodify.bat         |   42 ++--
 opendj-ldap-toolkit/src/main/assembly/bat/ldifsearch.bat         |   42 ++--
 opendj-ldap-toolkit/src/main/assembly/bat/searchrate.bat         |   44 ++--
 12 files changed, 260 insertions(+), 260 deletions(-)

diff --git a/opendj-ldap-toolkit/src/main/assembly/bat/addrate.bat b/opendj-ldap-toolkit/src/main/assembly/bat/addrate.bat
index 66be9fd..5d557fe 100644
--- a/opendj-ldap-toolkit/src/main/assembly/bat/addrate.bat
+++ b/opendj-ldap-toolkit/src/main/assembly/bat/addrate.bat
@@ -1,22 +1,22 @@
-
-@echo off
-rem The contents of this file are subject to the terms of the Common Development and
-rem Distribution License (the License). You may not use this file except in compliance with the
-rem License.
-rem
-rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
-rem specific language governing permission and limitations under the License.
-rem
-rem When distributing Covered Software, include this CDDL Header Notice in each file and include
-rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
-rem Header, with the fields enclosed by brackets [] replaced by your own identifying
-rem information: "Portions Copyright [year] [name of copyright owner]".
-rem
-rem Copyright 2014 ForgeRock AS.
-
-setlocal
-
-set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.AddRate"
-set SCRIPT_NAME=addrate
-for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %*
-
+
+@echo off
+rem The contents of this file are subject to the terms of the Common Development and
+rem Distribution License (the License). You may not use this file except in compliance with the
+rem License.
+rem
+rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
+rem specific language governing permission and limitations under the License.
+rem
+rem When distributing Covered Software, include this CDDL Header Notice in each file and include
+rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
+rem Header, with the fields enclosed by brackets [] replaced by your own identifying
+rem information: "Portions Copyright [year] [name of copyright owner]".
+rem
+rem Copyright 2014 ForgeRock AS.
+
+setlocal
+
+set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.AddRate"
+set SCRIPT_NAME=addrate
+call "%~dp0\..\lib\_client-script.bat" %*
+
diff --git a/opendj-ldap-toolkit/src/main/assembly/bat/authrate.bat b/opendj-ldap-toolkit/src/main/assembly/bat/authrate.bat
index ee463c3..a111923 100644
--- a/opendj-ldap-toolkit/src/main/assembly/bat/authrate.bat
+++ b/opendj-ldap-toolkit/src/main/assembly/bat/authrate.bat
@@ -1,22 +1,22 @@
-
-@echo off
-rem The contents of this file are subject to the terms of the Common Development and
-rem Distribution License (the License). You may not use this file except in compliance with the
-rem License.
-rem
-rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
-rem specific language governing permission and limitations under the License.
-rem
-rem When distributing Covered Software, include this CDDL Header Notice in each file and include
-rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
-rem Header, with the fields enclosed by brackets [] replaced by your own identifying
-rem information: "Portions Copyright [year] [name of copyright owner]".
-rem
-rem Copyright 2010 Sun Microsystems, Inc.
-
-setlocal
-
-set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.AuthRate"
-set SCRIPT_NAME=authrate
-for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %*
-
+
+@echo off
+rem The contents of this file are subject to the terms of the Common Development and
+rem Distribution License (the License). You may not use this file except in compliance with the
+rem License.
+rem
+rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
+rem specific language governing permission and limitations under the License.
+rem
+rem When distributing Covered Software, include this CDDL Header Notice in each file and include
+rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
+rem Header, with the fields enclosed by brackets [] replaced by your own identifying
+rem information: "Portions Copyright [year] [name of copyright owner]".
+rem
+rem Copyright 2010 Sun Microsystems, Inc.
+
+setlocal
+
+set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.AuthRate"
+set SCRIPT_NAME=authrate
+call "%~dp0\..\lib\_client-script.bat" %*
+
diff --git a/opendj-ldap-toolkit/src/main/assembly/bat/ldapcompare.bat b/opendj-ldap-toolkit/src/main/assembly/bat/ldapcompare.bat
index 96083bd..dcaeb48 100644
--- a/opendj-ldap-toolkit/src/main/assembly/bat/ldapcompare.bat
+++ b/opendj-ldap-toolkit/src/main/assembly/bat/ldapcompare.bat
@@ -1,22 +1,22 @@
-
-@echo off
-rem The contents of this file are subject to the terms of the Common Development and
-rem Distribution License (the License). You may not use this file except in compliance with the
-rem License.
-rem
-rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
-rem specific language governing permission and limitations under the License.
-rem
-rem When distributing Covered Software, include this CDDL Header Notice in each file and include
-rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
-rem Header, with the fields enclosed by brackets [] replaced by your own identifying
-rem information: "Portions Copyright [year] [name of copyright owner]".
-rem
-rem Copyright 2006-2008 Sun Microsystems, Inc.
-
-setlocal
-
-set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.LDAPCompare"
-set SCRIPT_NAME=ldapcompare
-for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %*
-
+
+@echo off
+rem The contents of this file are subject to the terms of the Common Development and
+rem Distribution License (the License). You may not use this file except in compliance with the
+rem License.
+rem
+rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
+rem specific language governing permission and limitations under the License.
+rem
+rem When distributing Covered Software, include this CDDL Header Notice in each file and include
+rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
+rem Header, with the fields enclosed by brackets [] replaced by your own identifying
+rem information: "Portions Copyright [year] [name of copyright owner]".
+rem
+rem Copyright 2006-2008 Sun Microsystems, Inc.
+
+setlocal
+
+set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.LDAPCompare"
+set SCRIPT_NAME=ldapcompare
+call "%~dp0\..\lib\_client-script.bat" %*
+
diff --git a/opendj-ldap-toolkit/src/main/assembly/bat/ldapmodify.bat b/opendj-ldap-toolkit/src/main/assembly/bat/ldapmodify.bat
index e69a74b..3911aea 100644
--- a/opendj-ldap-toolkit/src/main/assembly/bat/ldapmodify.bat
+++ b/opendj-ldap-toolkit/src/main/assembly/bat/ldapmodify.bat
@@ -1,22 +1,22 @@
-
-@echo off
-rem The contents of this file are subject to the terms of the Common Development and
-rem Distribution License (the License). You may not use this file except in compliance with the
-rem License.
-rem
-rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
-rem specific language governing permission and limitations under the License.
-rem
-rem When distributing Covered Software, include this CDDL Header Notice in each file and include
-rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
-rem Header, with the fields enclosed by brackets [] replaced by your own identifying
-rem information: "Portions Copyright [year] [name of copyright owner]".
-rem
-rem Copyright 2006-2008 Sun Microsystems, Inc.
-
-setlocal
-
-set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.LDAPModify"
-set SCRIPT_NAME=ldapmodify
-for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %*
-
+
+@echo off
+rem The contents of this file are subject to the terms of the Common Development and
+rem Distribution License (the License). You may not use this file except in compliance with the
+rem License.
+rem
+rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
+rem specific language governing permission and limitations under the License.
+rem
+rem When distributing Covered Software, include this CDDL Header Notice in each file and include
+rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
+rem Header, with the fields enclosed by brackets [] replaced by your own identifying
+rem information: "Portions Copyright [year] [name of copyright owner]".
+rem
+rem Copyright 2006-2008 Sun Microsystems, Inc.
+
+setlocal
+
+set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.LDAPModify"
+set SCRIPT_NAME=ldapmodify
+call "%~dp0\..\lib\_client-script.bat" %*
+
diff --git a/opendj-ldap-toolkit/src/main/assembly/bat/ldappasswordmodify.bat b/opendj-ldap-toolkit/src/main/assembly/bat/ldappasswordmodify.bat
index 6fd4ec8..efe91da 100644
--- a/opendj-ldap-toolkit/src/main/assembly/bat/ldappasswordmodify.bat
+++ b/opendj-ldap-toolkit/src/main/assembly/bat/ldappasswordmodify.bat
@@ -1,22 +1,22 @@
-
-@echo off
-rem The contents of this file are subject to the terms of the Common Development and
-rem Distribution License (the License). You may not use this file except in compliance with the
-rem License.
-rem
-rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
-rem specific language governing permission and limitations under the License.
-rem
-rem When distributing Covered Software, include this CDDL Header Notice in each file and include
-rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
-rem Header, with the fields enclosed by brackets [] replaced by your own identifying
-rem information: "Portions Copyright [year] [name of copyright owner]".
-rem
-rem Copyright 2006-2008 Sun Microsystems, Inc.
-
-setlocal
-
-set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.LDAPPasswordModify"
-set SCRIPT_NAME=ldappasswordmodify
-for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %*
-
+
+@echo off
+rem The contents of this file are subject to the terms of the Common Development and
+rem Distribution License (the License). You may not use this file except in compliance with the
+rem License.
+rem
+rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
+rem specific language governing permission and limitations under the License.
+rem
+rem When distributing Covered Software, include this CDDL Header Notice in each file and include
+rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
+rem Header, with the fields enclosed by brackets [] replaced by your own identifying
+rem information: "Portions Copyright [year] [name of copyright owner]".
+rem
+rem Copyright 2006-2008 Sun Microsystems, Inc.
+
+setlocal
+
+set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.LDAPPasswordModify"
+set SCRIPT_NAME=ldappasswordmodify
+call "%~dp0\..\lib\_client-script.bat" %*
+
diff --git a/opendj-ldap-toolkit/src/main/assembly/bat/ldapsearch.bat b/opendj-ldap-toolkit/src/main/assembly/bat/ldapsearch.bat
index b91e203..3bd037a 100644
--- a/opendj-ldap-toolkit/src/main/assembly/bat/ldapsearch.bat
+++ b/opendj-ldap-toolkit/src/main/assembly/bat/ldapsearch.bat
@@ -1,22 +1,22 @@
-
-@echo off
-rem The contents of this file are subject to the terms of the Common Development and
-rem Distribution License (the License). You may not use this file except in compliance with the
-rem License.
-rem
-rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
-rem specific language governing permission and limitations under the License.
-rem
-rem When distributing Covered Software, include this CDDL Header Notice in each file and include
-rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
-rem Header, with the fields enclosed by brackets [] replaced by your own identifying
-rem information: "Portions Copyright [year] [name of copyright owner]".
-rem
-rem Copyright 2006-2008 Sun Microsystems, Inc.
-
-setlocal
-
-set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.LDAPSearch"
-set SCRIPT_NAME=ldapsearch
-for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %*
-
+
+@echo off
+rem The contents of this file are subject to the terms of the Common Development and
+rem Distribution License (the License). You may not use this file except in compliance with the
+rem License.
+rem
+rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
+rem specific language governing permission and limitations under the License.
+rem
+rem When distributing Covered Software, include this CDDL Header Notice in each file and include
+rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
+rem Header, with the fields enclosed by brackets [] replaced by your own identifying
+rem information: "Portions Copyright [year] [name of copyright owner]".
+rem
+rem Copyright 2006-2008 Sun Microsystems, Inc.
+
+setlocal
+
+set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.LDAPSearch"
+set SCRIPT_NAME=ldapsearch
+call "%~dp0\..\lib\_client-script.bat" %*
+
diff --git a/opendj-ldap-toolkit/src/main/assembly/bat/ldifdiff.bat b/opendj-ldap-toolkit/src/main/assembly/bat/ldifdiff.bat
index 57d155a..dc34ec5 100644
--- a/opendj-ldap-toolkit/src/main/assembly/bat/ldifdiff.bat
+++ b/opendj-ldap-toolkit/src/main/assembly/bat/ldifdiff.bat
@@ -1,21 +1,21 @@
-
-@echo off
-rem The contents of this file are subject to the terms of the Common Development and
-rem Distribution License (the License). You may not use this file except in compliance with the
-rem License.
-rem
-rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
-rem specific language governing permission and limitations under the License.
-rem
-rem When distributing Covered Software, include this CDDL Header Notice in each file and include
-rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
-rem Header, with the fields enclosed by brackets [] replaced by your own identifying
-rem information: "Portions Copyright [year] [name of copyright owner]".
-rem
-rem Copyright 2012 ForgeRock AS.
-
-setlocal
-
-set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.LDIFDiff"
-set SCRIPT_NAME=ldifdiff
-for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %*
+
+@echo off
+rem The contents of this file are subject to the terms of the Common Development and
+rem Distribution License (the License). You may not use this file except in compliance with the
+rem License.
+rem
+rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
+rem specific language governing permission and limitations under the License.
+rem
+rem When distributing Covered Software, include this CDDL Header Notice in each file and include
+rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
+rem Header, with the fields enclosed by brackets [] replaced by your own identifying
+rem information: "Portions Copyright [year] [name of copyright owner]".
+rem
+rem Copyright 2012 ForgeRock AS.
+
+setlocal
+
+set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.LDIFDiff"
+set SCRIPT_NAME=ldifdiff
+call "%~dp0\..\lib\_client-script.bat" %*
diff --git a/opendj-ldap-toolkit/src/main/assembly/bat/ldifmodify.bat b/opendj-ldap-toolkit/src/main/assembly/bat/ldifmodify.bat
index a2642ca..2d9a469 100644
--- a/opendj-ldap-toolkit/src/main/assembly/bat/ldifmodify.bat
+++ b/opendj-ldap-toolkit/src/main/assembly/bat/ldifmodify.bat
@@ -1,21 +1,21 @@
-
-@echo off
-rem The contents of this file are subject to the terms of the Common Development and
-rem Distribution License (the License). You may not use this file except in compliance with the
-rem License.
-rem
-rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
-rem specific language governing permission and limitations under the License.
-rem
-rem When distributing Covered Software, include this CDDL Header Notice in each file and include
-rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
-rem Header, with the fields enclosed by brackets [] replaced by your own identifying
-rem information: "Portions Copyright [year] [name of copyright owner]".
-rem
-rem Copyright 2012 ForgeRock AS.
-
-setlocal
-
-set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.LDIFModify"
-set SCRIPT_NAME=ldifmodify
-for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %*
+
+@echo off
+rem The contents of this file are subject to the terms of the Common Development and
+rem Distribution License (the License). You may not use this file except in compliance with the
+rem License.
+rem
+rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
+rem specific language governing permission and limitations under the License.
+rem
+rem When distributing Covered Software, include this CDDL Header Notice in each file and include
+rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
+rem Header, with the fields enclosed by brackets [] replaced by your own identifying
+rem information: "Portions Copyright [year] [name of copyright owner]".
+rem
+rem Copyright 2012 ForgeRock AS.
+
+setlocal
+
+set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.LDIFModify"
+set SCRIPT_NAME=ldifmodify
+call "%~dp0\..\lib\_client-script.bat" %*
diff --git a/opendj-ldap-toolkit/src/main/assembly/bat/ldifsearch.bat b/opendj-ldap-toolkit/src/main/assembly/bat/ldifsearch.bat
index 0f1c440..29a0d43 100644
--- a/opendj-ldap-toolkit/src/main/assembly/bat/ldifsearch.bat
+++ b/opendj-ldap-toolkit/src/main/assembly/bat/ldifsearch.bat
@@ -1,21 +1,21 @@
-
-@echo off
-rem The contents of this file are subject to the terms of the Common Development and
-rem Distribution License (the License). You may not use this file except in compliance with the
-rem License.
-rem
-rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
-rem specific language governing permission and limitations under the License.
-rem
-rem When distributing Covered Software, include this CDDL Header Notice in each file and include
-rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
-rem Header, with the fields enclosed by brackets [] replaced by your own identifying
-rem information: "Portions Copyright [year] [name of copyright owner]".
-rem
-rem Copyright 2012 ForgeRock AS.
-
-setlocal
-
-set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.LDIFSearch"
-set SCRIPT_NAME=ldifsearch
-for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %*
+
+@echo off
+rem The contents of this file are subject to the terms of the Common Development and
+rem Distribution License (the License). You may not use this file except in compliance with the
+rem License.
+rem
+rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
+rem specific language governing permission and limitations under the License.
+rem
+rem When distributing Covered Software, include this CDDL Header Notice in each file and include
+rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
+rem Header, with the fields enclosed by brackets [] replaced by your own identifying
+rem information: "Portions Copyright [year] [name of copyright owner]".
+rem
+rem Copyright 2012 ForgeRock AS.
+
+setlocal
+
+set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.LDIFSearch"
+set SCRIPT_NAME=ldifsearch
+call "%~dp0\..\lib\_client-script.bat" %*
diff --git a/opendj-ldap-toolkit/src/main/assembly/bat/makeldif.bat b/opendj-ldap-toolkit/src/main/assembly/bat/makeldif.bat
index fe7a50d..cea950e 100644
--- a/opendj-ldap-toolkit/src/main/assembly/bat/makeldif.bat
+++ b/opendj-ldap-toolkit/src/main/assembly/bat/makeldif.bat
@@ -1,21 +1,21 @@
-
-@echo off
-rem The contents of this file are subject to the terms of the Common Development and
-rem Distribution License (the License). You may not use this file except in compliance with the
-rem License.
-rem
-rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
-rem specific language governing permission and limitations under the License.
-rem
-rem When distributing Covered Software, include this CDDL Header Notice in each file and include
-rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
-rem Header, with the fields enclosed by brackets [] replaced by your own identifying
-rem information: "Portions Copyright [year] [name of copyright owner]".
-rem
-rem Copyright 2013 ForgeRock AS.
-
-setlocal
-
-set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.MakeLDIF"
-set SCRIPT_NAME=makeldif
-for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %*
+
+@echo off
+rem The contents of this file are subject to the terms of the Common Development and
+rem Distribution License (the License). You may not use this file except in compliance with the
+rem License.
+rem
+rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
+rem specific language governing permission and limitations under the License.
+rem
+rem When distributing Covered Software, include this CDDL Header Notice in each file and include
+rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
+rem Header, with the fields enclosed by brackets [] replaced by your own identifying
+rem information: "Portions Copyright [year] [name of copyright owner]".
+rem
+rem Copyright 2013 ForgeRock AS.
+
+setlocal
+
+set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.MakeLDIF"
+set SCRIPT_NAME=makeldif
+call "%~dp0\..\lib\_client-script.bat" %*
diff --git a/opendj-ldap-toolkit/src/main/assembly/bat/modrate.bat b/opendj-ldap-toolkit/src/main/assembly/bat/modrate.bat
index d2aad8a..cc4c18e 100644
--- a/opendj-ldap-toolkit/src/main/assembly/bat/modrate.bat
+++ b/opendj-ldap-toolkit/src/main/assembly/bat/modrate.bat
@@ -1,22 +1,22 @@
-
-@echo off
-rem The contents of this file are subject to the terms of the Common Development and
-rem Distribution License (the License). You may not use this file except in compliance with the
-rem License.
-rem
-rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
-rem specific language governing permission and limitations under the License.
-rem
-rem When distributing Covered Software, include this CDDL Header Notice in each file and include
-rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
-rem Header, with the fields enclosed by brackets [] replaced by your own identifying
-rem information: "Portions Copyright [year] [name of copyright owner]".
-rem
-rem Copyright 2009 Sun Microsystems, Inc.
-
-setlocal
-
-set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.ModRate"
-set SCRIPT_NAME=modrate
-for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %*
-
+
+@echo off
+rem The contents of this file are subject to the terms of the Common Development and
+rem Distribution License (the License). You may not use this file except in compliance with the
+rem License.
+rem
+rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
+rem specific language governing permission and limitations under the License.
+rem
+rem When distributing Covered Software, include this CDDL Header Notice in each file and include
+rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
+rem Header, with the fields enclosed by brackets [] replaced by your own identifying
+rem information: "Portions Copyright [year] [name of copyright owner]".
+rem
+rem Copyright 2009 Sun Microsystems, Inc.
+
+setlocal
+
+set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.ModRate"
+set SCRIPT_NAME=modrate
+call "%~dp0\..\lib\_client-script.bat" %*
+
diff --git a/opendj-ldap-toolkit/src/main/assembly/bat/searchrate.bat b/opendj-ldap-toolkit/src/main/assembly/bat/searchrate.bat
index 9bcd1ac..ffc9203 100644
--- a/opendj-ldap-toolkit/src/main/assembly/bat/searchrate.bat
+++ b/opendj-ldap-toolkit/src/main/assembly/bat/searchrate.bat
@@ -1,22 +1,22 @@
-
-@echo off
-rem The contents of this file are subject to the terms of the Common Development and
-rem Distribution License (the License). You may not use this file except in compliance with the
-rem License.
-rem
-rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
-rem specific language governing permission and limitations under the License.
-rem
-rem When distributing Covered Software, include this CDDL Header Notice in each file and include
-rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
-rem Header, with the fields enclosed by brackets [] replaced by your own identifying
-rem information: "Portions Copyright [year] [name of copyright owner]".
-rem
-rem Copyright 2009 Sun Microsystems, Inc.
-
-setlocal
-
-set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.SearchRate"
-set SCRIPT_NAME=searchrate
-for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %*
-
+
+@echo off
+rem The contents of this file are subject to the terms of the Common Development and
+rem Distribution License (the License). You may not use this file except in compliance with the
+rem License.
+rem
+rem You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
+rem specific language governing permission and limitations under the License.
+rem
+rem When distributing Covered Software, include this CDDL Header Notice in each file and include
+rem the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
+rem Header, with the fields enclosed by brackets [] replaced by your own identifying
+rem information: "Portions Copyright [year] [name of copyright owner]".
+rem
+rem Copyright 2009 Sun Microsystems, Inc.
+
+setlocal
+
+set OPENDJ_INVOKE_CLASS="com.forgerock.opendj.ldap.tools.SearchRate"
+set SCRIPT_NAME=searchrate
+call "%~dp0\..\lib\_client-script.bat" %*
+

--
Gitblit v1.10.0