aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild-aux/valgrind.sh4
1 files changed, 2 insertions, 2 deletions
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