mirror of https://github.com/OpenRCT2/OpenRCT2.git
Make check-code-formatting POSIX compatible
[[ ]] double bracket conditions and $OSTYPE are both features of Bash.
This commit is contained in:
parent
e67327dbb1
commit
c5052c05a1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue