diff --git a/.github/workflows/wheels-dependencies.sh b/.github/workflows/wheels-dependencies.sh index 0c53b576ab4..0f7fc5e9978 100755 --- a/.github/workflows/wheels-dependencies.sh +++ b/.github/workflows/wheels-dependencies.sh @@ -2,8 +2,8 @@ # Define custom utilities # Test for macOS with [ -n "$IS_MACOS" ] if [ -z "$IS_MACOS" ]; then - export MB_ML_LIBC=$(echo $AUDITWHEEL_POLICY | cut -f 1 -d _) - export MB_ML_VER="_"$(echo $AUDITWHEEL_POLICY | cut -f 2- -d _) + export MB_ML_LIBC=${AUDITWHEEL_POLICY::9} + export MB_ML_VER=${AUDITWHEEL_POLICY:9} fi source wheels/multibuild/common_utils.sh PLAT=$CIBW_ARCHS source wheels/multibuild/library_builders.sh