summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2010-09-15 11:31:55 +0200
committerJan Holesovsky <kendy@suse.cz>2010-09-15 11:31:55 +0200
commit06305328f46e5775f3f5337ece71f22adaa259c2 (patch)
tree036590f21e0e0803cf734b8dfadc07a7b66fe072
parentb25ed8d91223afcd81f07108504aa3ad2a86fa9c (diff)
Source ooenv in the soffice wrapper if it exists (for linked builds).
-rw-r--r--desktop/scripts/soffice.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index e2031c2f82..53c39d4d28 100644
--- a/desktop/scripts/soffice.sh
+++ b/desktop/scripts/soffice.sh
@@ -55,6 +55,11 @@ fi
sd_prog=`pwd`
cd "$sd_cwd"
+# linked build needs additional settings
+if [ -e ooenv ] ; then
+ source ooenv
+fi
+
sd_binary=`basename "$0"`.bin
#collect all bootstrap variables specified on the command line