From 03b30ea97b56c76514c31b7460e2b3c0594f859a Mon Sep 17 00:00:00 2001
From: fguigues <fguigues@localhost>
Date: Wed, 28 Jan 2009 07:38:52 +0000
Subject: [PATCH] Fix file sepator in the licenfile Update the classpath wit hadditional resources
---
opends/resource/bin/_script-util.sh | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/opends/resource/bin/_script-util.sh b/opends/resource/bin/_script-util.sh
index 8263497..73ebe21 100644
--- a/opends/resource/bin/_script-util.sh
+++ b/opends/resource/bin/_script-util.sh
@@ -23,7 +23,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc.
+# Copyright 2008-2009 Sun Microsystems, Inc.
#
# function that sets the java home
@@ -146,6 +146,10 @@
# Configure the appropriate CLASSPATH.
set_classpath() {
CLASSPATH=${INSTANCE_ROOT}/classes
+ for JAR in ${INSTALL_ROOT}/resources/*.jar
+ do
+ CLASSPATH=${CLASSPATH}:${JAR}
+ done
for JAR in ${INSTALL_ROOT}/lib/*.jar
do
CLASSPATH=${CLASSPATH}:${JAR}
--
Gitblit v1.10.0