Hi, Poking desktop/scripts/soffice.sh for an Easy Hack, I wonder if there exists a slight possibility of a trailing ':' of LD_LIBRARY_PATH, in case that its original value is set but empty. Anyway it looks subtle :)
Cheers, -- Takeshi Abe
>From 4720c7b74c19542530e8c420fb1834ef07dd17ca Mon Sep 17 00:00:00 2001 From: Takeshi Abe <t...@fixedpoint.jp> Date: Sat, 11 Dec 2010 03:21:29 +0900 Subject: [PATCH] colon needed for LD_LIBRARY_PATH set but empty --- desktop/scripts/soffice.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh index 8e1439a..cbef3b4 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 -- 1.7.2.3
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice