From dfb7a51786f23f788ca4e96a6f887f699184068a Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Fri, 29 Sep 2023 14:57:26 +0300 Subject: [PATCH] fix(scripts): bash doesn't know `-s` in x-have --- local/bin/x-have | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/local/bin/x-have b/local/bin/x-have index 2a986a0..8226d28 100755 --- a/local/bin/x-have +++ b/local/bin/x-have @@ -1,10 +1,9 @@ #!/usr/bin/env bash # Returns which status -which -s "$1" >&/dev/null +which "$1" >&/dev/null if [ $? -eq 0 ]; then echo 0 else echo 1 fi -