From 14577e8dbefb6677ea76ba26a4ec7c23f1684eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Szak=C3=A1llas?= <5807322+dszakallas@users.noreply.github.com> Date: Sat, 13 Sep 2025 18:59:31 +0200 Subject: [PATCH] fix macos buildenv --- tools/macos_buildenv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/macos_buildenv.sh b/tools/macos_buildenv.sh index e73ee016bd37..7f38ba4a225e 100755 --- a/tools/macos_buildenv.sh +++ b/tools/macos_buildenv.sh @@ -29,7 +29,7 @@ fi HOST_ARCH=$(uname -m) # One of x86_64, arm64, i386, ppc or ppc64 -if [ "$HOST_ARCH" == "x86_64" ]; then +if [[ "$HOST_ARCH" == "x86_64" ]]; then if [ -n "${BUILDENV_ARM64_CROSS}" ]; then if [ -n "${BUILDENV_RELEASE}" ]; then VCPKG_TARGET_TRIPLET="arm64-osx-min1100-release" @@ -55,7 +55,7 @@ if [ "$HOST_ARCH" == "x86_64" ]; then BUILDENV_SHA256="0c75b39d6c03e34e794ab95cc460b1d11a0b976d572e31451b7c0798d9035d73" fi fi -elif [ "$HOST_ARCH" == "arm64" ]; then +elif [[ "$HOST_ARCH" == "arm64" ]]; then if [ -n "${BUILDENV_RELEASE}" ]; then VCPKG_TARGET_TRIPLET="arm64-osx-min1100-release" BUILDENV_BRANCH="2.6-rel"