From f8372f9b8f798114d0b4fa896abeac187c074480 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 16 Nov 2007 16:41:24 +0000
Subject: [PATCH] Fix for issue 1618 unable to install to folder with DN syntax.

---
 opends/src/guitools/org/opends/guitools/statuspanel/StatusPanelController.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/statuspanel/StatusPanelController.java b/opends/src/guitools/org/opends/guitools/statuspanel/StatusPanelController.java
index 5dccc3d..62b3f8e 100644
--- a/opends/src/guitools/org/opends/guitools/statuspanel/StatusPanelController.java
+++ b/opends/src/guitools/org/opends/guitools/statuspanel/StatusPanelController.java
@@ -560,7 +560,8 @@
 
     ArrayList<String> argList = new ArrayList<String>();
     Installation installation = Installation.getLocal();
-    argList.add(Utils.getPath(installation.getServerStartCommandFile()));
+    argList.add(Utils.getScriptPath(
+        Utils.getPath(installation.getServerStartCommandFile())));
 
     String[] args = new String[argList.size()];
     argList.toArray(args);
@@ -674,7 +675,8 @@
 
     ArrayList<String> argList = new ArrayList<String>();
     Installation installation = Installation.getLocal();
-    argList.add(Utils.getPath(installation.getServerStopCommandFile()));
+    argList.add(Utils.getScriptPath(
+        Utils.getPath(installation.getServerStopCommandFile())));
     String[] args = new String[argList.size()];
     argList.toArray(args);
     ProcessBuilder pb = new ProcessBuilder(args);

--
Gitblit v1.10.0