Skip to content

Commit 570af16

Browse files
committed
chore: simplify entrypoint install script
1 parent 4fbdda4 commit 570af16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/build_scripts/build_utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ MANYLINUX_CXXFLAGS="-g -O2 -Wall -fdebug-prefix-map=/=. -fstack-protector-strong
1111
MANYLINUX_LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now"
1212

1313
export BASE_POLICY=manylinux
14-
if [ "${AUDITWHEEL_POLICY:0:9}" == "musllinux" ]; then
14+
if [ "${AUDITWHEEL_POLICY:0:10}" == "musllinux_" ]; then
1515
export BASE_POLICY=musllinux
1616
fi
1717

docker/build_scripts/install-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ if [ "${AUDITWHEEL_PLAT}" = "manylinux2014_i686" ]; then
2323
LC_ALL=C "${MY_DIR}/update-system-packages.sh"
2424
fi
2525

26-
if [ "${AUDITWHEEL_POLICY}" = "musllinux_1_1" ] || [ "${AUDITWHEEL_POLICY}" = "musllinux_1_2" ]; then
26+
if [ "${AUDITWHEEL_POLICY:0:10}" == "musllinux_" ]; then
2727
apk add --no-cache bash
2828
fi

0 commit comments

Comments
 (0)