aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-12-26 17:20:31 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-12-26 17:20:31 +0100
commit1fd99df4212ddb6aa042de2ff5f21100a9075d72 (patch)
treecfe2b4ddb914e5d782599cd7577bae5157ad1895
parent54d563e10f381ea01cf0ed93f2b97fcac848808c (diff)
downloadblogc-1fd99df4212ddb6aa042de2ff5f21100a9075d72.tar.gz
blogc-1fd99df4212ddb6aa042de2ff5f21100a9075d72.tar.bz2
blogc-1fd99df4212ddb6aa042de2ff5f21100a9075d72.zip
build: accept parameters to valgrind script
-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