summaryrefslogtreecommitdiff
path: root/pactest/vercmptest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pactest/vercmptest.sh')
-rwxr-xr-xpactest/vercmptest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pactest/vercmptest.sh b/pactest/vercmptest.sh
index e36bf4be..fca06578 100755
--- a/pactest/vercmptest.sh
+++ b/pactest/vercmptest.sh
@@ -62,7 +62,7 @@ runtest() {
# use first arg as our binary if specified
[ -n "$1" ] && bin="$1"
-if [ ! -x "$bin" ]; then
+if [ ! $(type -p "$bin") ]; then
echo "vercmp binary ($bin) could not be located"
exit 1
fi