summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2010-12-11 03:21:29 +0900
committerCaolán McNamara <caolanm@redhat.com>2010-12-10 21:48:57 +0000
commit1b851a56ff8b7dd121b3ce437a5420a7eabcb916 (patch)
tree84b61efbe389b8d88e29422a6edca4f5b2a8a845
parent467236f4d26859add73c87b02e61354d76b6a12d (diff)
colon needed for LD_LIBRARY_PATH set but empty
(cherry picked from commit b3820037d60d8d510708fe2b205711e0d228e351)
-rw-r--r--desktop/scripts/soffice.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index 1f1ad3ef37..71a5f18958 100644
--- a/desktop/scripts/soffice.sh
+++ b/desktop/scripts/soffice.sh
@@ -67,7 +67,7 @@ case "`uname -s`" in
OpenBSD)
sd_prog1="$sd_prog/../basis-link/program"
sd_prog2="$sd_prog/../basis-link/ure-link/lib"
- LD_LIBRARY_PATH=$sd_prog1:$sd_prog2${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}
+ LD_LIBRARY_PATH=$sd_prog1:$sd_prog2${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
JAVA_HOME=$(javaPathHelper -h libreoffice-java 2> /dev/null)
export LD_LIBRARY_PATH
if [ -n "${JAVA_HOME}" ]; then