Skip to content

Commit ee8b9f0

Browse files
committed
BUG: Only rename manylinux wheels when required
They will be moved if auditwheel renamed them.
1 parent cd2c2e6 commit ee8b9f0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scripts/internal/manylinux-build-module-wheels.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ if test "${ARCH}" == "x64"; then
5656
rm ${whl}
5757
done
5858
fi
59-
for itk_wheel in dist/itk*-linux*.whl; do
60-
mv ${itk_wheel} ${itk_wheel/linux/manylinux2014}
61-
done
59+
if compgen -G "dist/itk*-linux*.whl" > /dev/null; then
60+
for itk_wheel in dist/itk*-linux*.whl; do
61+
mv ${itk_wheel} ${itk_wheel/linux/manylinux2014}
62+
done
63+
fi

0 commit comments

Comments
 (0)