From 66d8dbace68739d7f2d5b1a5890ba8a223325680 Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Mon, 03 Mar 2008 14:13:04 +0000
Subject: [PATCH] fix ImportLdifWithScript(): -I and -E parameters on windows

---
 opends/tests/shared/functions/dsadm.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/tests/shared/functions/dsadm.xml b/opends/tests/shared/functions/dsadm.xml
index 5f9de1c..c591456 100755
--- a/opends/tests/shared/functions/dsadm.xml
+++ b/opends/tests/shared/functions/dsadm.xml
@@ -918,11 +918,11 @@
           
         if dsIncludeFilter:
           for InFilter in dsIncludeFilter:
-            STAFCmdParamsList.append('-I %s ' % InFilter)
+            STAFCmdParamsList.append('-I "%s" ' % InFilter)
 
         if dsExcludeFilter:
           for ExFilter in dsExcludeFilter:
-            STAFCmdParamsList.append('-E %s ' % ExFilter)
+            STAFCmdParamsList.append('-E "%s" ' % ExFilter)
           
         if dsRejectFile:
           STAFCmdParamsList.append('-R %s' % dsRejectFile)

--
Gitblit v1.10.0