From 4722bb82f8f2a181d882b8ad683ee5740da95cfa Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 7 Mar 2017 13:31:34 +0100 Subject: desktop: unbreak soffice --valgrind (regression from e6a9dc22a4e58b565894f8cdb6a19755af7b14de) Change-Id: Ib394a64fb70a3b578d462c351eb9d68e9ac55d62 --- desktop/scripts/soffice.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop/scripts') diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh index b73d6b30a2e6..5c76b6e2211d 100755 --- a/desktop/scripts/soffice.sh +++ b/desktop/scripts/soffice.sh @@ -110,8 +110,8 @@ for arg in "$@" $EXTRAOPT ; do test -z "$VALGRIND" && VALGRIND="memcheck" # --trace-children-skip is pretty useful but supported only with valgrind >= 3.6.0 valgrind_ver=$(valgrind --version | sed -e "s/valgrind-//") - valgrind_ver_maj=$(echo "$valgrind_ver" | awk -F. '{ print \$1 }') - valgrind_ver_min=$(echo "$valgrind_ver" | awk -F. '{ print \$2 }') + valgrind_ver_maj=$(echo "$valgrind_ver" | awk -F. '{ print $1 }') + valgrind_ver_min=$(echo "$valgrind_ver" | awk -F. '{ print $2 }') valgrind_skip= if [ "$valgrind_ver_maj" -gt 3 ] || ( [ "$valgrind_ver_maj" -eq 3 ] && [ "$valgrind_ver_min" -ge 6 ] ) ; then valgrind_skip='--trace-children-skip=*/java,*/gij' -- cgit