From 5bc89ab6d71cb0ed2219770cfdc9550ad42b5c9e Mon Sep 17 00:00:00 2001 From: Frankie Dintino Date: Tue, 17 Dec 2024 14:30:06 -0500 Subject: [PATCH] Fix bash syntax error in macOS version comparison --- wheelbuild/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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