summaryrefslogtreecommitdiff
path: root/desktop/scripts/soffice.sh
diff options
context:
space:
mode:
authorsj <sj@openoffice.org>2010-08-13 15:02:26 +0200
committersj <sj@openoffice.org>2010-08-13 15:02:26 +0200
commite91eb75f9e7f7788e648a0d270f2166222ed54ab (patch)
tree1d3724109b0dd67b4f0a7930fd4f6bc03b6cd353 /desktop/scripts/soffice.sh
parente316ce7a8f784231ff39bb069ec6eac0aefca9ce (diff)
parent0e6f37318dd855bd04e3281435d1af751398c98f (diff)
impress186: merge with DEV300m86
Diffstat (limited to 'desktop/scripts/soffice.sh')
-rw-r--r--desktop/scripts/soffice.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index ebbdeb9eabdb..0215f88d1ff0 100644
--- a/desktop/scripts/soffice.sh
+++ b/desktop/scripts/soffice.sh
@@ -120,9 +120,14 @@ trap 'kill -9 $!' TERM
wait $!
sd_ret=$?
-while [ $sd_ret -eq 79 ]
+while [ $sd_ret -eq 79 -o $sd_ret -eq 81 ]
do
- "$sd_prog/$sd_binary" ""$BOOTSTRAPVARS"" &
+ if [ $sd_ret -eq 79 ]; then
+ "$sd_prog/$sd_binary" ""$BOOTSTRAPVARS"" &
+ elif [ $sd_ret -eq 81 ]; then
+ "$sd_prog/$sd_binary" "$@" &
+ fi
+
wait $!
sd_ret=$?
done