Skip to content

Commit 054ee41

Browse files
authored
Merge pull request #533 from mcristina422/checkInstall
🏃 Properly check if binary exists
2 parents e0bee34 + 42f8083 commit 054ee41

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 command -v "$1" &>/dev/null; then
6464
return 0
6565
fi
6666
return 1

0 commit comments

Comments
 (0)