From b406bda40b630eab228ecafe169e9e3ca695a825 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).

---
 opendj-sdk/opends/resource/upgrade |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opendj-sdk/opends/resource/upgrade b/opendj-sdk/opends/resource/upgrade
index 020f523..59ea211 100644
--- a/opendj-sdk/opends/resource/upgrade
+++ b/opendj-sdk/opends/resource/upgrade
@@ -30,7 +30,7 @@
 # root so that we can use them to create appropriate paths.
 WORKING_DIR=`pwd`
 
-cd `dirname "${0}"`
+cd "`dirname "${0}"`"
 SCRIPT_DIR=`pwd`
 
 INSTANCE_ROOT=${SCRIPT_DIR}

--
Gitblit v1.10.0