From 273e0795d05bfe2edbdb9bae9f1c4a062d191eb1 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Sun, 10 Dec 2023 12:32:27 +1100 Subject: [PATCH] Tools: ignore the error from brew update --- Tools/environment_install/install-prereqs-mac.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/environment_install/install-prereqs-mac.sh b/Tools/environment_install/install-prereqs-mac.sh index cba654a6de..69f647c1b2 100755 --- a/Tools/environment_install/install-prereqs-mac.sh +++ b/Tools/environment_install/install-prereqs-mac.sh @@ -103,7 +103,8 @@ function maybe_prompt_user() { # see https://github.com/orgs/Homebrew/discussions/3895 find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete -brew update +# brew update randomly failing on CI, so ignore errors: +brew update || true brew install gawk curl coreutils wget PIP=pip