diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-13 15:40:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-13 20:31:42 +0100 |
commit | d82e5e45ef83fda19b8d757e5175c4b95f9d44c1 (patch) | |
tree | adbb15df881c4d4466cf82d884c617985fb90620 | |
parent | 31770d8c462bddcb1ae8a70454106058486b59c2 (diff) |
fixes for AIX
-rw-r--r-- | ure/source/startup.sh | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/ure/source/startup.sh b/ure/source/startup.sh index 7130d172809b..1b80e16cf3d6 100644 --- a/ure/source/startup.sh +++ b/ure/source/startup.sh @@ -39,8 +39,17 @@ epath=`dirname "$0"` if [ -x "${epath}/javaldx" ] ; then jpath=`"${epath}/javaldx" $my_envargs` if [ -n "${jpath}" ]; then - LD_LIBRARY_PATH=${jpath}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} - export LD_LIBRARY_PATH + sd_platform=`uname -s` + case $sd_platform in + AIX) + LIBPAT=${jpath}${LIBPATH:+:${LIBPATH}} + export LIBPATH + ;; + *) + LD_LIBRARY_PATH=${jpath}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} + export LD_LIBRARY_PATH + ;; + esac fi fi |