summaryrefslogtreecommitdiff
path: root/ure/source/startup.sh
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-10-01 09:04:58 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-10-01 09:04:58 +0000
commit3b2b8f91ff22b93050b9b1aa3da5bd4359182499 (patch)
tree3e37aa664496da562640735b168da4dcc08bb737 /ure/source/startup.sh
parent257b3205cae2665a96492b806df10faf884a4e99 (diff)
CWS-TOOLING: integrate CWS sb93
Diffstat (limited to 'ure/source/startup.sh')
-rw-r--r--ure/source/startup.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/ure/source/startup.sh b/ure/source/startup.sh
index ecac68693e66..a4ec42ded460 100644
--- a/ure/source/startup.sh
+++ b/ure/source/startup.sh
@@ -9,7 +9,7 @@
#
# $RCSfile: startup.sh,v $
#
-# $Revision: 1.4 $
+# $Revision: 1.4.10.1 $
#
# This file is part of OpenOffice.org.
#
@@ -40,10 +40,12 @@ done
# Extend the LD_LIBRARY_PATH for Java:
epath=`dirname "$0"`
-jpath=`"${epath}/javaldx" $my_envargs`
-if [ -n "${jpath}" ]; then
- LD_LIBRARY_PATH=${jpath}${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}
- export LD_LIBRARY_PATH
+if [ -x "${epath}/javaldx" ] ; then
+ jpath=`"${epath}/javaldx" $my_envargs`
+ if [ -n "${jpath}" ]; then
+ LD_LIBRARY_PATH=${jpath}${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}
+ export LD_LIBRARY_PATH
+ fi
fi
exec "$0.bin" "$@"