fix: use portable extended grep regex

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
Martin Wimpress 2026-01-24 13:59:58 +00:00
parent 18451fe6c1
commit e3fb8c3372
1 changed files with 1 additions and 1 deletions

View File

@ -965,7 +965,7 @@ function check_cocoa_gl_es_support() {
# Test QEMU directly for gl=es support - most reliable method
# This catches both missing OpenGL build support and missing ANGLE libraries
if "${QEMU}" -display cocoa,gl=es -M none 2>&1 | grep -qi "OpenGL support was not enabled\|does not accept"; then
if "${QEMU}" -display cocoa,gl=es -M none 2>&1 | grep -Eqi "OpenGL support was not enabled|does not accept"; then
return 1
fi