diff --git a/Documentation/BuildInstructionsLadybird.md b/Documentation/BuildInstructionsLadybird.md index 9c75d1d6596..67258fc916f 100644 --- a/Documentation/BuildInstructionsLadybird.md +++ b/Documentation/BuildInstructionsLadybird.md @@ -107,7 +107,7 @@ Xcode 14 versions before 14.3 might crash while building ladybird. Xcode 14.3 or ``` xcode-select --install -brew install autoconf autoconf-archive automake cmake ffmpeg nasm ninja ccache pkg-config bash +brew install autoconf autoconf-archive automake cmake ffmpeg nasm ninja ccache pkg-config ``` If you also plan to use the Qt chrome on macOS: diff --git a/Meta/lint-clang-format.sh b/Meta/lint-clang-format.sh index 384a09bf338..68304ec7aa8 100755 --- a/Meta/lint-clang-format.sh +++ b/Meta/lint-clang-format.sh @@ -6,7 +6,10 @@ script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) cd "${script_path}/.." || exit 1 if [ "$#" -eq "1" ]; then - mapfile -t files < <( + files=() + while IFS= read -r file; do + files+=("$file") + done < <( git ls-files -- \ '*.cpp' \ '*.h' \ diff --git a/Meta/lint-gn.sh b/Meta/lint-gn.sh index bf43fbb5704..e8970bcd40a 100755 --- a/Meta/lint-gn.sh +++ b/Meta/lint-gn.sh @@ -6,7 +6,10 @@ script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) cd "${script_path}/.." || exit 1 if [ "$#" -eq "0" ]; then - mapfile -t files < <( + files=() + while IFS= read -r file; do + files+=("$file") + done < <( git ls-files '*.gn' '*.gni' ) else diff --git a/Meta/lint-prettier.sh b/Meta/lint-prettier.sh index 00f0f70b4ee..00915412d40 100755 --- a/Meta/lint-prettier.sh +++ b/Meta/lint-prettier.sh @@ -6,7 +6,10 @@ script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) cd "${script_path}/.." || exit 1 if [ "$#" -eq "0" ]; then - mapfile -t files < <( + files=() + while IFS= read -r file; do + files+=("$file") + done < <( git ls-files \ --exclude-from .prettierignore \ -- \ diff --git a/Meta/lint-python.sh b/Meta/lint-python.sh index 40eb8126539..b4995e1d770 100755 --- a/Meta/lint-python.sh +++ b/Meta/lint-python.sh @@ -6,7 +6,10 @@ script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) cd "${script_path}/.." || exit 1 if [ "$#" -eq "0" ]; then - mapfile -t files < <( + files=() + while IFS= read -r file; do + files+=("$file") + done < <( git ls-files '*.py' ) else diff --git a/Meta/lint-shell-scripts.sh b/Meta/lint-shell-scripts.sh index ac0de251ddc..8587f0d89d0 100755 --- a/Meta/lint-shell-scripts.sh +++ b/Meta/lint-shell-scripts.sh @@ -6,7 +6,10 @@ script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) cd "$script_path/.." if [ "$#" -eq "0" ]; then - mapfile -t files < <( + files=() + while IFS= read -r file; do + files+=("$file") + done < <( git ls-files -- \ '*.sh' \ )