diff --git a/.github/workflows/cibuildwheel-before-build.sh b/.github/workflows/cibuildwheel-before-build.sh index 421f63c23..0e1f49741 100755 --- a/.github/workflows/cibuildwheel-before-build.sh +++ b/.github/workflows/cibuildwheel-before-build.sh @@ -21,7 +21,7 @@ unzip -q "${TBB_ZIP}" # EXTRA_CMAKE_ARGS="" -if [ "${PLATFORM}" = "macos" ]; then +if [[ "${PLATFORM}" == "macos" ]]; then if [[ ${ARCHFLAGS} == *"arm64"* ]]; then EXTRA_CMAKE_ARGS="-DCMAKE_OSX_ARCHITECTURES=arm64" fi