From 980a9da09387376b969cf4078fa412aed9dda515 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 21 Jun 2025 17:58:58 +0800 Subject: [PATCH] Correct regex handling. --- .github/workflows/wheels-dependencies.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheels-dependencies.sh b/.github/workflows/wheels-dependencies.sh index 982ba7b10..fd8126c4b 100755 --- a/.github/workflows/wheels-dependencies.sh +++ b/.github/workflows/wheels-dependencies.sh @@ -2,8 +2,8 @@ # Safety check - Pillow builds require that CIBW_ARCHS is set, and that it only # contains a single value (even though cibuildwheel allows multiple values in -# CIBW_ARCHS). -echo "ENV CHECK: CIBW_ARCHS=$CIBW_ARCHS" +# CIBW_ARCHS). This check doesn't work on Linux because of how the CIBW_ARCHS +# variable is exposed. function check_cibw_archs { if [[ -z "$CIBW_ARCHS" ]]; then echo "ERROR: Pillow builds require CIBW_ARCHS be defined." @@ -204,7 +204,7 @@ function build { build_simple libXau 1.0.12 https://www.x.org/pub/individual/lib build_simple libpthread-stubs 0.5 https://xcb.freedesktop.org/dist else - sed "s/\$\{pc_sysrootdir\}//" $BUILD_PREFIX/share/pkgconfig/xcb-proto.pc > $BUILD_PREFIX/lib/pkgconfig/xcb-proto.pc + sed "s/\${pc_sysrootdir\}//" $BUILD_PREFIX/share/pkgconfig/xcb-proto.pc > $BUILD_PREFIX/lib/pkgconfig/xcb-proto.pc fi build_simple libxcb $LIBXCB_VERSION https://www.x.org/releases/individual/lib