From 2f6b479f4a056264305fb7853a90513c69be7e47 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 16 Jun 2022 22:23:20 -0700
Subject: [PATCH] Fixed test-versioning.sh on macOS
---
test-versioning.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test-versioning.sh b/test-versioning.sh
index c4f9b76..48f2ab5 100755
--- a/test-versioning.sh
+++ b/test-versioning.sh
@@ -130,7 +130,7 @@ else
not_ok "project.pbxproj DYLIB_COMPATIBILITY_VERSION is inconsistent"
fi
-dylib_compat=$(sed -ne 's/^set(DYLIB_COMPATIBILITY_VERSION "\([0-9.]\+\)")$/\1/p' CMakeLists.txt)
+dylib_compat=$(sed -ne 's/^set(DYLIB_COMPATIBILITY_VERSION "\([0-9.]*\)")$/\1/p' CMakeLists.txt)
ref='15.0.0'
if [ "$ref" = "$dylib_compat" ]; then