Make check-code-formatting POSIX compatible

[[ ]] double bracket conditions and $OSTYPE are both features of Bash.
This commit is contained in:
Margen67
2022-03-09 12:58:01 -08:00
parent e67327dbb1
commit c5052c05a1
+1 -1
View File
@@ -2,7 +2,7 @@
readlink_bin='readlink'
if [[ "$OSTYPE" == "darwin"* ]]; then
if [ "$(uname)" == "Darwin" ]; then
if ! [ -x "$(command -v greadlink)" ]; then
echo 'Please install greadlink with Homebrew: brew install coreutils'
exit 1