diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-03-18 12:13:09 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-03-18 12:13:09 +0000 |
commit | 86748347b5a108b525cd0c23048fee1ad7ca720f (patch) | |
tree | b9ffbe697e7a0bae7540fc2825d13a5c373d5e5c /ure | |
parent | 4a08e1de52ea4932af2495c677ee44c3e796a5cc (diff) |
INTEGRATION: CWS sb83 (1.2.46); FILE MERGED
2008/03/10 14:51:56 sb 1.2.46.1: #i86870# pass -env args on to javaldx (BROKEN, NEEDS A BETTER FIX; but already extensively used in desktop/scripts/, anyway)
Diffstat (limited to 'ure')
-rw-r--r-- | ure/source/startup.sh | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/ure/source/startup.sh b/ure/source/startup.sh index d702be7d311b..6c2ef0f059a9 100644 --- a/ure/source/startup.sh +++ b/ure/source/startup.sh @@ -5,9 +5,9 @@ # # $RCSfile: startup.sh,v $ # -# $Revision: 1.2 $ +# $Revision: 1.3 $ # -# last change: $Author: rt $ $Date: 2005-09-09 10:12:00 $ +# last change: $Author: vg $ $Date: 2008-03-18 13:13:09 $ # # The Contents of this file are made available subject to # the terms of GNU Lesser General Public License Version 2.1. @@ -34,9 +34,17 @@ # #************************************************************************* +# Pass -env arguments on to javaldx; needs to be fixed: +my_envargs= +for my_arg in "$@" ; do + case ${my_arg} in + -env:*) my_envargs="${my_envargs} ${my_arg}" ;; + esac +done + # Extend the LD_LIBRARY_PATH for Java: epath=`dirname "$0"` -jpath=`"${epath}/javaldx"` +jpath=`"${epath}/javaldx" $my_envargs` if [ -n "${jpath}" ]; then LD_LIBRARY_PATH=${jpath}${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}} export LD_LIBRARY_PATH |