From 96fe0fd070edb7a676a682630e273168614fd61e Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Tue, 25 Jun 2013 16:12:48 +0000
Subject: [PATCH] Fix OPENDJ-1014: QuickSetup: replace "OpenDJ" with "opendj" in the installation path

---
 opends/src/quicksetup/org/opends/quicksetup/util/Utils.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java b/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
index 8dfd4d8..d01855c 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
@@ -28,6 +28,7 @@
 package org.opends.quicksetup.util;
 
 import static org.opends.messages.QuickSetupMessages.*;
+import static org.opends.server.util.DynamicConstants.SHORT_NAME;
 
 import java.io.BufferedOutputStream;
 import java.io.BufferedReader;
@@ -669,9 +670,8 @@
   public static String getDefaultServerLocation()
   {
     String userDir = System.getProperty("user.home");
-    String firstLocation =
-        userDir + File.separator
-            + org.opends.server.util.DynamicConstants.SHORT_NAME;
+    String firstLocation = userDir + File.separator
+        + SHORT_NAME.toLowerCase(Locale.ENGLISH);
     String serverLocation = firstLocation;
     int i = 1;
     while (fileExists(serverLocation)

--
Gitblit v1.10.0