diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-03-07 13:31:34 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-03-07 13:38:11 +0100 |
commit | 4722bb82f8f2a181d882b8ad683ee5740da95cfa (patch) | |
tree | ae510c92c9d8a4c676a14b6315b4d9ec2c85f913 /desktop | |
parent | c3d1be64e882f7e0edd0e693b9f73a0556bcb003 (diff) |
desktop: unbreak soffice --valgrind
(regression from e6a9dc22a4e58b565894f8cdb6a19755af7b14de)
Change-Id: Ib394a64fb70a3b578d462c351eb9d68e9ac55d62
Diffstat (limited to 'desktop')
-rwxr-xr-x | desktop/scripts/soffice.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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' |