From 59a7b1df8c086b5f00a48912b04837b922b84e2e Mon Sep 17 00:00:00 2001 From: Giuseppe Castagno Date: Fri, 15 Oct 2010 11:22:59 +0200 Subject: [PATCH] Correct symlink in order to be used in SDK and testtool. This in order to recognize the application installation path; only for Linux and similar platforms. --- desktop/scripts/soffice.sh | 2 +- sysui/desktop/share/create_tree.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh index 00c2b5c..d7eb928 100644 --- a/desktop/scripts/soffice.sh +++ b/desktop/scripts/soffice.sh @@ -60,7 +60,7 @@ if [ -e ooenv ] ; then . ./ooenv fi -sd_binary=`basename "$0"`.bin +sd_binary=`basename "$0" | sed 's/libreoffice/soffice/g'`.bin #collect all bootstrap variables specified on the command line #so that they can be passed as arguments to javaldx later on diff --git a/sysui/desktop/share/create_tree.sh b/sysui/desktop/share/create_tree.sh index 48b0458..60ebf9f 100644 --- a/sysui/desktop/share/create_tree.sh +++ b/sysui/desktop/share/create_tree.sh @@ -94,7 +94,9 @@ mkdir -p ${DESTDIR}/usr/bin office_root=/opt/${PREFIX} -cp openoffice.sh ${DESTDIR}/usr/bin/${PREFIX} +#this symlink is needed to have the API boostrap functions running right +ln -sf ${office_root}/program/soffice ${DESTDIR}/usr/bin/libreoffice + cp printeradmin.sh ${DESTDIR}/usr/bin/${PREFIX}-printeradmin chmod 0755 ${DESTDIR}/usr/bin/${PREFIX} ${DESTDIR}/usr/bin/${PREFIX}-printeradmin -- 1.6.3.3