🔄Switch to which command

This commit is contained in:
Ben Chatelain 2019-03-29 23:43:18 -06:00
parent a371f1ce0f
commit 752da94a74

View file

@ -13,7 +13,7 @@ main() {
}
check_class_dump() {
if command --quiet --search class-dump; then
if ! which -s class-dump; then
echo "'class-dump' is not installed" >&2
exit 1
fi