From 027ecd80d0cbbb698b44d08add32eb1bd11a8ffa Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Fri, 10 Dec 2021 11:46:10 -0800 Subject: [PATCH] devops: fix Firefox builds on MacOS 12 (#10865) We don't need this yet for our build bots, but I happen to run MacOS 12 now. --- browser_patches/firefox-beta/build.sh | 2 +- browser_patches/firefox/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/browser_patches/firefox-beta/build.sh b/browser_patches/firefox-beta/build.sh index 372a8434f6..b696e7b837 100755 --- a/browser_patches/firefox-beta/build.sh +++ b/browser_patches/firefox-beta/build.sh @@ -23,7 +23,7 @@ rm -rf .mozconfig if [[ "$(uname)" == "Darwin" ]]; then CURRENT_HOST_OS_VERSION=$(getMacVersion) # As of Oct 2021, building Firefox requires XCode 13 - if [[ "${CURRENT_HOST_OS_VERSION}" == "11."* ]]; then + if [[ "${CURRENT_HOST_OS_VERSION}" != "10."* ]]; then selectXcodeVersionOrDie "13" else echo "ERROR: ${CURRENT_HOST_OS_VERSION} is not supported" diff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.sh index 04e1369c0c..0cee43dfec 100755 --- a/browser_patches/firefox/build.sh +++ b/browser_patches/firefox/build.sh @@ -23,7 +23,7 @@ rm -rf .mozconfig if [[ "$(uname)" == "Darwin" ]]; then CURRENT_HOST_OS_VERSION=$(getMacVersion) # As of Oct 2021, building Firefox requires XCode 13 - if [[ "${CURRENT_HOST_OS_VERSION}" == "11."* ]]; then + if [[ "${CURRENT_HOST_OS_VERSION}" != "10."* ]]; then selectXcodeVersionOrDie "13" else echo "ERROR: ${CURRENT_HOST_OS_VERSION} is not supported"