check_format: Update a hint for Darwin tools

Signed-off-by: Alexey Marchuk <alexeymar@nvidia.com>
Change-Id: I483cb49c56b02cd9d24dff2c71395a2e1b0a6a80
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14865
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
This commit is contained in:
Alexey Marchuk 2022-10-05 09:31:28 +02:00 committed by Tomasz Zawadzki
parent 8c9ff451b2
commit 8d27a5f7ed

View File

@ -4,7 +4,7 @@ if [[ $(uname -s) == Darwin ]]; then
# SPDK is not supported on MacOS, but as a developer # SPDK is not supported on MacOS, but as a developer
# convenience we support running the check_format.sh # convenience we support running the check_format.sh
# script on MacOS. # script on MacOS.
# Running "brew install bash greadlink ggrep" should be # Running "brew install bash coreutils grep" should be
# sufficient to get the correct versions of these utilities. # sufficient to get the correct versions of these utilities.
if [[ $(type -t mapfile) != builtin ]]; then if [[ $(type -t mapfile) != builtin ]]; then
# We need bash version >= 4.0 for mapfile builtin # We need bash version >= 4.0 for mapfile builtin