diff --git a/wheelbuild/config.sh b/wheelbuild/config.sh index b58230e..aedbe46 100644 --- a/wheelbuild/config.sh +++ b/wheelbuild/config.sh @@ -240,7 +240,7 @@ function build_libavif { cmake --version if [ -n "$IS_MACOS" ] && [ "$PLAT" == "arm64" ]; then # SVT-AV1 NEON intrinsics require macOS 14 - local macos_ver=$(sw_vers --productVersion | sed 's/\.[0-9]*//') + local macos_ver=$(sw_vers --productVersion | sed 's/\.[.0-9]*//') if [ "$macos_ver" -gt "13" ]; then LIBAVIF_CMAKE_FLAGS+=(-DAVIF_CODEC_SVT=LOCAL) fi