From 3dfb061cbafd3a97c9359f739942924a8ee525f1 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Wed, 02 Nov 2011 12:07:15 +0000
Subject: [PATCH] Fix for OPENDJ-222 : Renamed environment variables to OPENDJ_... Updated scripts so that if OPENDJ_JAVA_HOME and OPENDJ_JAVA_ARGS are not defined, we look at the legacy OPENDS_... ones.

---
 opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java b/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java
index 906b4d1..ca7b8f9 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java
@@ -680,10 +680,10 @@
                   // This is the message thrown when there was a problem with
                   // the binary.  The details content is on the scripts and not
                   // localized, we can assume that if there is a mention to
-                  // OPENDS_JAVA_HOME in the message there is an error with the
+                  // OPENDJ_JAVA_HOME in the message there is an error with the
                   // script.
                   if (ae.getMessageObject().toString().indexOf(
-                      "OPENDS_JAVA_HOME") != -1)
+                      "OPENDJ_JAVA_HOME") != -1)
                   {
                     String javaBin = System.getProperty("java.home")+
                     File.separator+

--
Gitblit v1.10.0