support macOS 12.x and 13.x SDKs from tools

This commit is contained in:
Joost-Wim Boekesteijn 2022-09-14 08:25:18 +02:00 committed by GitHub
parent 17bb5e2d0a
commit 06dbef2a8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,7 @@ else
exit 1 exit 1
fi fi
SDKS=$(ls | grep -E "^MacOSX11.*|^MacOSX10.*" | grep -v "Patch") SDKS=$(ls | grep -E "^MacOSX13.*|^MacOSX12.*|^MacOSX11.*|^MacOSX10.*" | grep -v "Patch")
if [ -z "$SDKS" ]; then if [ -z "$SDKS" ]; then
echo "No SDK found" 1>&2 echo "No SDK found" 1>&2