summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/runwrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runwrapper b/test/runwrapper
index 8281a15..6e0e899 100755
--- a/test/runwrapper
+++ b/test/runwrapper
@@ -4,4 +4,4 @@ if [ -e "$PWD/.libs/libtestlookup.so" ]; then
export LD_PRELOAD="$PWD/.libs/libtestlookup.so"
fi
-$PWD/test/run $@
+"${srcdir:-${PWD}}"/test/run "$@"