summaryrefslogtreecommitdiff
path: root/desktop/scripts
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-11-11 11:28:45 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-11-11 11:28:45 +0000
commitf506382aebc1b3e34a22e0a334fb1c32fa46db18 (patch)
tree7e3bc941c0c06e09fc11eafb8147b35075704e7e /desktop/scripts
parent955935f1be840671b96fc1639a22a7eaf4c52316 (diff)
INTEGRATION: CWS c06 (1.17.50); FILE MERGED
2005/09/22 07:56:01 kso 1.17.50.2: #i53834# - bootsrap params must too be passed to office on restart after crash. 2005/08/26 15:31:11 kso 1.17.50.1: #i53834# - pass bootstrap vars to javaldx.
Diffstat (limited to 'desktop/scripts')
-rw-r--r--desktop/scripts/soffice.sh17
1 files changed, 13 insertions, 4 deletions
diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index fe755e9449..a750ec7e10 100644
--- a/desktop/scripts/soffice.sh
+++ b/desktop/scripts/soffice.sh
@@ -5,9 +5,9 @@
#
# $RCSfile: soffice.sh,v $
#
-# $Revision: 1.18 $
+# $Revision: 1.19 $
#
-# last change: $Author: rt $ $Date: 2005-09-08 17:02:48 $
+# last change: $Author: rt $ $Date: 2005-11-11 12:28:45 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -147,9 +147,18 @@ case $sd_platform in
;;
esac
+#collect all bootstrap variables specified on the command line
+#so that they can be passed as arguments to javaldx later on
+for arg in $@
+do
+ case "$arg" in
+ -env:*) BOOTSTRAPVARS=$BOOTSTRAPVARS" ""$arg";;
+ esac
+done
+
# extend the ld_library_path for java: javaldx checks the sofficerc for us
if [ -x "$sd_prog/javaldx" ] ; then
- java_ld_library_path=`"$sd_prog/javaldx"`
+ java_ld_library_path=`"$sd_prog/javaldx" $BOOTSTRAPVARS`
if [ "$java_ld_library_path" != "" ] ; then
case $sd_platform in
AIX)
@@ -225,7 +234,7 @@ export PATH
while [ $? -eq 79 ]
do
- "$sd_prog/$sd_binary"
+ "$sd_prog/$sd_binary" ""$BOOTSTRAPVARS""
done
exit