soffice.sh (cdf0e10c) soffice.sh (30971150)
1#!/bin/sh
2#*************************************************************************
3#
4# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5#
6# Copyright 2000, 2010 Oracle and/or its affiliates.
7#
8# OpenOffice.org - a multi-platform office productivity suite

--- 78 unchanged lines hidden (view full) ---

87 ;;
88 esac
89done
90"$sd_prog/../basis-link/program/pagein" -L"$sd_prog/../basis-link/program" \
91 ${sd_pagein_args}
92
93# extend the ld_library_path for java: javaldx checks the sofficerc for us
94if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ] ; then
1#!/bin/sh
2#*************************************************************************
3#
4# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5#
6# Copyright 2000, 2010 Oracle and/or its affiliates.
7#
8# OpenOffice.org - a multi-platform office productivity suite

--- 78 unchanged lines hidden (view full) ---

87 ;;
88 esac
89done
90"$sd_prog/../basis-link/program/pagein" -L"$sd_prog/../basis-link/program" \
91 ${sd_pagein_args}
92
93# extend the ld_library_path for java: javaldx checks the sofficerc for us
94if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ] ; then
95 # this is a temporary hack until we can live with the default search paths
96 case "`uname -s`" in
97 FreeBSD)
98 sd_prog1="$sd_prog/../basis-link/program"
99 sd_prog2="$sd_prog/../basis-link/ure-link/lib"
100 LD_LIBRARY_PATH=$sd_prog1:$sd_prog2${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}
101 export LD_LIBRARY_PATH
102 ;;
103 esac
95 my_path=`"$sd_prog/../basis-link/ure-link/bin/javaldx" $BOOTSTRAPVARS \
96 "-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"`
97 if [ -n "$my_path" ] ; then
98 LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
99 export LD_LIBRARY_PATH
100 fi
101fi
102

--- 32 unchanged lines hidden ---
104 my_path=`"$sd_prog/../basis-link/ure-link/bin/javaldx" $BOOTSTRAPVARS \
105 "-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"`
106 if [ -n "$my_path" ] ; then
107 LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
108 export LD_LIBRARY_PATH
109 fi
110fi
111

--- 32 unchanged lines hidden ---