mirror of
https://github.com/mas-cli/mas
synced 2024-11-25 21:10:24 +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() {
|
||||
if ! which -s class-dump; then
|
||||
echo "'class-dump' is not installed" >&2
|
||||
# command: usage: command [-pVv] command [arg ...]
|
||||
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
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue