[Libreoffice-commits] .: desktop/scripts

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Oct 18 02:17:30 PDT 2012


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

New commits:
commit 1c192dc0fcfb5a3f63042ed7daf7deaf48d56668
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

diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index 7727206..0c3ab6d 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 2>&1 > valgrind.log
 fi
 
 # oosplash does the rest: forcing pages in, javaldx etc. are


More information about the Libreoffice-commits mailing list