aboutsummaryrefslogtreecommitdiff
path: root/paludis
diff options
context:
space:
mode:
Diffstat (limited to 'paludis')
-rw-r--r--paludis/util/run_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/util/run_test.sh b/paludis/util/run_test.sh
index 4a428add2..07c78797c 100644
--- a/paludis/util/run_test.sh
+++ b/paludis/util/run_test.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
-testname=${2:-${1}}
+testname=$(basename ${2:-${1}})
interp=
[[ ${testname%.py} != ${testname} ]] && interp="${PYTHON}"
[[ ${testname%.rb} != ${testname} ]] && interp="${RUBY} -I ./.libs/"