diff --git a/build_library/catalyst.sh b/build_library/catalyst.sh index 26b5372863..cc470fd9aa 100644 --- a/build_library/catalyst.sh +++ b/build_library/catalyst.sh @@ -174,7 +174,7 @@ catalyst_init() { die_notrace "This script must be run as root." fi - if ! which catalyst &>/dev/null; then + if ! command -v catalyst >/dev/null 2>&1; then die_notrace "catalyst not found, not installed or bad PATH?" fi