diff options
Diffstat (limited to 'padmin')
-rw-r--r-- | padmin/source/spadmin.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/padmin/source/spadmin.sh b/padmin/source/spadmin.sh index c831ab7f0919..24b8314a5c20 100644 --- a/padmin/source/spadmin.sh +++ b/padmin/source/spadmin.sh @@ -54,6 +54,15 @@ done # extend the ld_library_path for java: javaldx checks the sofficerc for us if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ] ; then + # this is a temporary hack until we can live with the default search paths + case "`uname -s`" in + FreeBSD) + sd_prog1="$sd_prog/../basis-link/program" + sd_prog2="$sd_prog/../basis-link/ure-link/lib" + LD_LIBRARY_PATH=$sd_prog1:$sd_prog2${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}} + export LD_LIBRARY_PATH + ;; + esac 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 |