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
commitcb39099f75b8919d6d7d34572a031a080ab3dbe3 (patch)
tree47e52a45ba3faa93111f24f4cd646217b8234a07
parent5cce527cf9c7f30ab7d75e7ccc6c94679fbb5a6e (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 0215f88d1ff0..2c14f12a8e09 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