Added check to the envvars file sourced by the AuthTokenValidate service

to keep us from invalidly setting LD_LIBRARY_PATH when the variable is
not set.
This commit is contained in:
Juan Carlos Luciani 2007-02-08 23:10:19 +00:00
parent dc46d381cc
commit f2318eadd2
2 changed files with 15 additions and 2 deletions

View File

@ -42,10 +42,18 @@ TEST_IBM_JVM=$(/usr/$LIB/jvm/jre-1.5.0/bin/java -version 2>&1 | grep -i ibm)
if [ -z "${TEST_IBM_JVM}" ]; then
# Assume Sun JVM
JVM_VER=SUN
LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}":/usr/$LIB/jvm/jre-1.5.0/lib/$SUNLIBDIR/server
if [ -z "${LD_LIBRARY_PATH}" ]; then
LD_LIBRARY_PATH=/usr/$LIB/jvm/jre-1.5.0/lib/$SUNLIBDIR/server
else
LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}":/usr/$LIB/jvm/jre-1.5.0/lib/$SUNLIBDIR/server
fi
else
JVM_VER=IBM
LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}":/usr/$LIB/jvm/jre-1.5.0/bin:/usr/$LIB/jvm/jre-1.5.0/bin/classic
if [ -z "${LD_LIBRARY_PATH}" ]; then
LD_LIBRARY_PATH=/usr/$LIB/jvm/jre-1.5.0/bin:/usr/$LIB/jvm/jre-1.5.0/bin/classic
else
LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}":/usr/$LIB/jvm/jre-1.5.0/bin:/usr/$LIB/jvm/jre-1.5.0/bin/classic
fi
fi
export JVM_VER
export LD_LIBRARY_PATH

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 8 16:07:44 MST 2007 - jluciani@novell.com
- Resolved Bug 243162.
-------------------------------------------------------------------
Wed Feb 7 16:11:39 MST 2007 - jluciani@novell.com