From 1fd99df4212ddb6aa042de2ff5f21100a9075d72 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 26 Dec 2016 17:20:31 +0100 Subject: build: accept parameters to valgrind script --- build-aux/valgrind.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build-aux') diff --git a/build-aux/valgrind.sh b/build-aux/valgrind.sh index 64091a1..03b42c9 100755 --- a/build-aux/valgrind.sh +++ b/build-aux/valgrind.sh @@ -8,7 +8,7 @@ export TESTS_ENVIRONMENT=" --show-possibly-lost=no" if [[ "${1}" == *.sh ]]; then - exec "${1}" + exec "${@}" else - exec ${TESTS_ENVIRONMENT} "${1}" + exec ${TESTS_ENVIRONMENT} "${@}" fi -- cgit v1.2.3-18-g5258