From 9d64e122c4551afa5a6ccc72d4a85e911360437e Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 07 Apr 2008 22:51:18 +0000
Subject: [PATCH] Second part of fix for issue 3126 (Cannot run setup if unziped in directory with spaces in name).

---
 opends/resource/bin/_server-script.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/resource/bin/_server-script.sh b/opends/resource/bin/_server-script.sh
index 5fe8854..aa88673 100755
--- a/opends/resource/bin/_server-script.sh
+++ b/opends/resource/bin/_server-script.sh
@@ -40,7 +40,7 @@
 # root so that we can use them to create appropriate paths.
 WORKING_DIR=`pwd`
 
-cd `dirname "${0}"`
+cd "`dirname "${0}"`"
 SCRIPT_DIR=`pwd`
 
 cd ..

--
Gitblit v1.10.0