diff options
author | Erik Auerswald <auerswal@unix-ag.uni-kl.de> | 2013-07-09 23:37:39 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-07-09 23:39:38 +0200 |
commit | e75b8e9b4bf720f3bcf479c6915d7815bf8f3e6e (patch) | |
tree | ca7762b16f41d9729e394caccfc0096969809378 /desktop/scripts | |
parent | 5ad1627bf03b6c6c94b63b954725ddc795d6b58c (diff) |
fdo#62192: broken launch script, bork in March in Germany
Change-Id: I0b726a696fe64ffb80a0cf367d5fa6225619ec92
Diffstat (limited to 'desktop/scripts')
-rwxr-xr-x | desktop/scripts/soffice.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh index d34f1c38298c..d08f52a6edca 100755 --- a/desktop/scripts/soffice.sh +++ b/desktop/scripts/soffice.sh @@ -17,6 +17,11 @@ # the License at http://www.apache.org/licenses/LICENSE-2.0 . # +# use POSIX locale for well-defined tool output +LO_SAVE_LC_ALL=$LC_ALL +LC_ALL=C +export LC_ALL + # # STAR_PROFILE_LOCKING_DISABLED=1 # export STAR_PROFILE_LOCKING_DISABLED @@ -138,6 +143,9 @@ AIX) ;; esac +# restore locale setting +LC_ALL="$LO_SAVE_LC_ALL" + # run soffice.bin directly when you want to get the backtrace if [ -n "$GDBTRACECHECK" ] ; then exec $GDBTRACECHECK "$sd_prog/soffice.bin" "$@" |