10 lines
169 B
Plaintext
10 lines
169 B
Plaintext
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
# Returns true if all the commands passed in as arguments exit on the system.
|
||
|
|
|
||
|
|
for cmd in "$@"; do
|
||
|
|
command -v "$cmd" &>/dev/null || exit 1
|
||
|
|
done
|
||
|
|
|
||
|
|
exit 0
|