[PATCH] colon needed for LD_LIBRARY_PATH set but empty

Takeshi Abe tabe at fixedpoint.jp
Fri Dec 10 10:21:29 PST 2010


---
 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


----Next_Part(Sat_Dec_11_03_43_00_2010_552)----


More information about the LibreOffice mailing list