[Libreoffice-commits] .: Branch 'distro/suse/suse-3.6' - desktop/scripts

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Nov 5 08:59:18 PST 2012


 desktop/scripts/soffice.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1b370220d13557882eacbb2840d77743a26da737
Author: Rene Engelhard <rene at debian.org>
Date:   Thu Oct 18 10:53:03 2012 +0200

    deb#690717 fix bashism in /bin/sh script
    
    Change-Id: I43b0065e56b234a5aa748ac1593c29a44fdb1647
    Reviewed-on: https://gerrit.libreoffice.org/886
    Reviewed-by: Petr Mladek <pmladek at suse.cz>
    Tested-by: Petr Mladek <pmladek at suse.cz>

diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index f35bebb..86c325a 100755
--- a/desktop/scripts/soffice.sh
+++ b/desktop/scripts/soffice.sh
@@ -155,7 +155,7 @@ fi
 # valgrind --log-file=valgrind.log does not work well with --trace-children=yes
 if [ -n "$VALGRINDCHECK" -a -z "$VALGRIND" ] ; then
     echo "redirecting the standard and the error output to valgrind.log"
-    exec &>valgrind.log
+    exec > valgrind.log 2>&1
 fi
 
 # oosplash does the rest: forcing pages in, javaldx etc. are


More information about the Libreoffice-commits mailing list