Revert "gen_sdk_package.sh: Use a more general pattern for finding the SDKs"

This reverts commit 2752b1c9e2.

It breaks the script on my Computer. Arch Linux.
This commit is contained in:
Thomas Pöchtrager 2022-06-10 19:22:36 +02:00
parent 9643e9a05e
commit 58c372da6a

View File

@ -148,10 +148,10 @@ else
fi fi
fi fi
SDKS=$(ls | grep -E "^MacOSX\d.*" | grep -v Patch || echo) SDKS=$(ls | grep -E "^MacOSX12.*|^MacOSX11.*|^MacOSX10.*" | grep -v "Patch")
if [ -z "$SDKS" ]; then if [ -z "$SDKS" ]; then
echo "No SDK found in" $(pwd) 1>&2 echo "No SDK found" 1>&2
exit 1 exit 1
fi fi