summaryrefslogtreecommitdiff
path: root/ure
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-09-09 10:48:03 +0200
committersb <sb@openoffice.org>2010-09-09 10:48:03 +0200
commit33192399848807a2029ecf398f843c2810e4f894 (patch)
tree7337a9080ebf306e4ad632ec468a8e1e9814b45d /ure
parent8c29f37b193ac59d62879b0303a997f09613e1db (diff)
hb22: #b6982587# treat null LD_LIBRARY_PATH like unset one
Diffstat (limited to 'ure')
-rw-r--r--ure/source/startup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ure/source/startup.sh b/ure/source/startup.sh
index 6d79b8d72060..7130d172809b 100644
--- a/ure/source/startup.sh
+++ b/ure/source/startup.sh
@@ -39,7 +39,7 @@ epath=`dirname "$0"`
if [ -x "${epath}/javaldx" ] ; then
jpath=`"${epath}/javaldx" $my_envargs`
if [ -n "${jpath}" ]; then
- LD_LIBRARY_PATH=${jpath}${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}
+ LD_LIBRARY_PATH=${jpath}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
export LD_LIBRARY_PATH
fi
fi