From b40f0cf40b2a52ea5030c6d1608a92ff75a005f2 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 29 Mar 2007 16:31:01 +0000
Subject: [PATCH] Fix for issue  	1460 (Remove build name from default install directory). Do not use the COMPACT_VERSION_STRING from DynamicConstants but only the long and short version of the product to build the default install directory.

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

diff --git a/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java b/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
index e00855a..5b794c4 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
@@ -634,7 +634,9 @@
     String userDir = System.getProperty("user.home");
     String firstLocation =
         userDir + File.separator
-            + org.opends.server.util.DynamicConstants.COMPACT_VERSION_STRING;
+            + org.opends.server.util.DynamicConstants.SHORT_NAME + "-"
+            + org.opends.server.util.DynamicConstants.MAJOR_VERSION + "."
+            + org.opends.server.util.DynamicConstants.MINOR_VERSION;
     String serverLocation = firstLocation;
     int i = 1;
     while (fileExists(serverLocation)

--
Gitblit v1.10.0