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
commitb8f033bebb4981fe2184cabbd81d32f4fbdeaba4 (patch)
treeb46e82b048515910f65ebea3263c25326bebb121
parentc13362bdedb898d982f66fe2c2a7b2ccbf84352f (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 ba9bbc7d2dab..61d663390d36 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