]> git.saurik.com Git - apt.git/blobdiff - abicheck/run_abi_test
tests: don't do boundless string compares with data()
[apt.git] / abicheck / run_abi_test
index 18c13dfcbcb95dbc601877387896c030eec1cacf..491616b30c87cfbb06aa199cd9b99d9d012b5871 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