]> git.saurik.com Git - apt.git/blobdiff - abicheck/run_abi_test
act on various suggestions from cppcheck
[apt.git] / abicheck / run_abi_test
index 18c13dfcbcb95dbc601877387896c030eec1cacf..6e6152a6319b39aadeddd41c331bf4512bf2549e 100755 (executable)
@@ -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