summaryrefslogtreecommitdiff
path: root/abicheck
diff options
context:
space:
mode:
Diffstat (limited to 'abicheck')
-rwxr-xr-xabicheck/run_abi_test2
1 files changed, 1 insertions, 1 deletions
diff --git a/abicheck/run_abi_test b/abicheck/run_abi_test
index 18c13dfcb..6e6152a63 100755
--- a/abicheck/run_abi_test
+++ b/abicheck/run_abi_test
@@ -8,7 +8,7 @@ if [ ! -d ../build ]; then
exit 1
fi
-if [ ! -x "$(which abi-compliance-checker 2>/dev/null )" ]; then
+if command -v abi-compliance-checker 2>/dev/null >&2; then
echo "Please install the 'abi-compliance-checker' package"
exit 1
fi