Skip to content

Commit fe1709a

Browse files
committed
fix(hack): Properly check if binary exists
1 parent 72ab3fe commit fe1709a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/check-everything.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function fetch_kb_tools {
6060
}
6161

6262
function is_installed {
63-
if [ command -v $1 &>/dev/null ]; then
63+
if type "$1" &>/dev/null; then
6464
return 0
6565
fi
6666
return 1

0 commit comments

Comments
 (0)