From b1e63ffd268cdb2cd28098a0a8578a3038be8fd4 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Mon, 6 Nov 2023 11:29:44 -0700 Subject: [PATCH] CI: Use other base64 options on macOS Sonoma too --- ci/init-external-repos.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/init-external-repos.sh b/ci/init-external-repos.sh index ce2d3f4a6d..7f27f582be 100755 --- a/ci/init-external-repos.sh +++ b/ci/init-external-repos.sh @@ -51,8 +51,8 @@ if [[ -n "${CIRRUS_CI}" ]] && [[ "${CIRRUS_REPO_OWNER}" == "zeek" ]] && [[ ! -d banner "Trying to clone zeek-testing-private git repo" echo "${ZEEK_TESTING_PRIVATE_SSH_KEY}" >cirrus_key.b64 - if [ "${CIRRUS_TASK_NAME}" == "macos_ventura" ]; then - # The base64 command provided with macOS Ventura requires an argument + if [ "${CIRRUS_TASK_NAME}" == "macos_ventura" -o "${CIRRUS_TASK_NAME}" == "macos_sonoma" ]; then + # The base64 command provided with macOS Ventura/Sonoma requires an argument # to pass the input filename base64 -d -i cirrus_key.b64 >cirrus_key else