[Libreoffice-commits] core.git: desktop/scripts

Erik Auerswald auerswal at unix-ag.uni-kl.de
Tue Jul 9 14:40:12 PDT 2013


 desktop/scripts/soffice.sh |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit e75b8e9b4bf720f3bcf479c6915d7815bf8f3e6e
Author: Erik Auerswald <auerswal at unix-ag.uni-kl.de>
Date:   Tue Jul 9 23:37:39 2013 +0200

    fdo#62192: broken launch script, bork in March in Germany
    
    Change-Id: I0b726a696fe64ffb80a0cf367d5fa6225619ec92

diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index d34f1c3..d08f52a 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" "$@"


More information about the Libreoffice-commits mailing list