From eaa6a6f17df404995b40ae6c4caebfd7947be7bb Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 26 Apr 2007 14:43:23 +0000
Subject: [PATCH] Complete fix for 1252 restrict installed bin files to relevant platform.

---
 opends/resource/bin/_client-script.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/resource/bin/_client-script.sh b/opends/resource/bin/_client-script.sh
index 225ea01..a972b26 100755
--- a/opends/resource/bin/_client-script.sh
+++ b/opends/resource/bin/_client-script.sh
@@ -56,9 +56,9 @@
 then
   if test -z "${JAVA_HOME}"
   then
-    if test -f "${INSTANCE_ROOT}/bin/set-java-home"
+    if test -f "${INSTANCE_ROOT}/lib/set-java-home"
     then
-      . "${INSTANCE_ROOT}/bin/set-java-home"
+      . "${INSTANCE_ROOT}/lib/set-java-home"
       JAVA_BIN="${JAVA_HOME}/bin/java"
       export JAVA_BIN
     else

--
Gitblit v1.10.0