summaryrefslogtreecommitdiff
path: root/ure/source/startup.sh
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-13 15:40:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-13 20:31:42 +0100
commitd82e5e45ef83fda19b8d757e5175c4b95f9d44c1 (patch)
treeadbb15df881c4d4466cf82d884c617985fb90620 /ure/source/startup.sh
parent31770d8c462bddcb1ae8a70454106058486b59c2 (diff)
fixes for AIX
Diffstat (limited to 'ure/source/startup.sh')
-rw-r--r--ure/source/startup.sh13
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