mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 11:33:13 +00:00
🚨 Switch back to command -v for class-dump detection
This commit is contained in:
parent
b75ad89eda
commit
81934624e9
1 changed files with 4 additions and 2 deletions
|
@ -13,8 +13,10 @@ main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
check_class_dump() {
|
check_class_dump() {
|
||||||
if ! which -s class-dump; then
|
# command: usage: command [-pVv] command [arg ...]
|
||||||
echo "'class-dump' is not installed" >&2
|
if ! command -v class-dump; then
|
||||||
|
echo "class-dump is not installed." >&2
|
||||||
|
echo "Download from http://stevenygard.com/projects/class-dump/" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue