diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-13 13:55:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-13 15:24:27 +0100 |
commit | 7ee4dfb7ab571692c2a1bdee1d7c11754f439733 (patch) | |
tree | 05458aeb0702aec5bdc7f3d4094bf9720dfcee4e /padmin/source | |
parent | c5b520172b2cc2d9746674af5923d98fc57a28c6 (diff) |
tweak this for AIX
Diffstat (limited to 'padmin/source')
-rw-r--r-- | padmin/source/spadmin.sh | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/padmin/source/spadmin.sh b/padmin/source/spadmin.sh index c831ab7f0919..3d8aa73e846b 100644 --- a/padmin/source/spadmin.sh +++ b/padmin/source/spadmin.sh @@ -57,8 +57,17 @@ if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ] ; then my_path=`"$sd_prog/../basis-link/ure-link/bin/javaldx" $BOOTSTRAPVARS \ "-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"` if [ -n "$my_path" ] ; then - LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} - export LD_LIBRARY_PATH + sd_platform=`uname -s` + case $sd_platform in + AIX) + LIBPATH=$my_path${LIBPATH:+:$LIBPATH} + export LIBPATH + ;; + *) + LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} + export LD_LIBRARY_PATH + ;; + esac fi fi |