summaryrefslogtreecommitdiff
path: root/desktop/scripts
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:41:53 +0000
commit78fc293ffb45b9f8a074662f06d85ae64c5783fb (patch)
treecef1746dc2f2dbcd398d38d6570d2930ef4f99e4 /desktop/scripts
parentf7d3718400e1692276d7675c967c4b6cf2ee1ec4 (diff)
colon needed for LD_LIBRARY_PATH set but empty
Diffstat (limited to 'desktop/scripts')
-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 9b8c0dd828e9..a3eb066d80c6 100644
--- a/desktop/scripts/soffice.sh
+++ b/desktop/scripts/soffice.sh
@@ -73,7 +73,7 @@ case "`uname -s`" in
OpenBSD) # this is a temporary hack until we can live with the default search paths
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