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/resource/bin/encode-password |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/opends/resource/bin/encode-password b/opends/resource/bin/encode-password
index 5f57482..9c2f9c3 100755
--- a/opends/resource/bin/encode-password
+++ b/opends/resource/bin/encode-password
@@ -24,12 +24,13 @@
 #
 #
 #      Copyright 2006-2008 Sun Microsystems, Inc.
+#      Portions Copyright 2011 ForgeRock AS
 
 
 # This script may be used to encode clear-text passwords or verify whether a
 # given clear-text password matches a provided encoded password.
-OPENDS_INVOKE_CLASS="org.opends.server.tools.EncodePassword"
-export OPENDS_INVOKE_CLASS
+OPENDJ_INVOKE_CLASS="org.opends.server.tools.EncodePassword"
+export OPENDJ_INVOKE_CLASS
 
 SCRIPT_NAME="encode-password"
 export SCRIPT_NAME

--
Gitblit v1.10.0