fix(scripts): bash doesn't know -s in x-have

This commit is contained in:
2023-09-29 14:57:26 +03:00
parent 56ae0e1e1c
commit dfb7a51786

View File

@@ -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