spadmin.sh (cdf0e10c) spadmin.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

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

49do
50 case "$arg" in
51 -env:*) BOOTSTRAPVARS=$BOOTSTRAPVARS" ""$arg";;
52 esac
53done
54
55# extend the ld_library_path for java: javaldx checks the sofficerc for us
56if [ -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

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

49do
50 case "$arg" in
51 -env:*) BOOTSTRAPVARS=$BOOTSTRAPVARS" ""$arg";;
52 esac
53done
54
55# extend the ld_library_path for java: javaldx checks the sofficerc for us
56if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ] ; then
57 # this is a temporary hack until we can live with the default search paths
58 case "`uname -s`" in
59 FreeBSD)
60 sd_prog1="$sd_prog/../basis-link/program"
61 sd_prog2="$sd_prog/../basis-link/ure-link/lib"
62 LD_LIBRARY_PATH=$sd_prog1:$sd_prog2${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}
63 export LD_LIBRARY_PATH
64 ;;
65 esac
57 my_path=`"$sd_prog/../basis-link/ure-link/bin/javaldx" $BOOTSTRAPVARS \
58 "-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"`
59 if [ -n "$my_path" ] ; then
60 LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
61 export LD_LIBRARY_PATH
62 fi
63fi
64

--- 12 unchanged lines hidden ---
66 my_path=`"$sd_prog/../basis-link/ure-link/bin/javaldx" $BOOTSTRAPVARS \
67 "-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"`
68 if [ -n "$my_path" ] ; then
69 LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
70 export LD_LIBRARY_PATH
71 fi
72fi
73

--- 12 unchanged lines hidden ---