From 31423c30b9eb4cbff583ce158dbbe5fb3a3e3ff2 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Thu, 28 Sep 2023 18:17:29 +0300 Subject: [PATCH] fix(scripts): `have` now uses `which -s` --- scripts/shared.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/shared.sh b/scripts/shared.sh index 9d19e97..78edfe8 100755 --- a/scripts/shared.sh +++ b/scripts/shared.sh @@ -113,7 +113,7 @@ function have_command # usage: have php && php -v function have { - bkt -- command -v "$1" >&/dev/null + bkt -- which -s "$1" >&/dev/null } function brew_installed