msys2: fix another python3.12 path

This commit is contained in:
Sebastien Bourdeauducq 2024-11-16 15:17:44 +08:00
parent 3f06844ae7
commit b5746b717f
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ build() {
# setuptools creates this file if it doesn't already exist, which causes conflicts between pacman packages # setuptools creates this file if it doesn't already exist, which causes conflicts between pacman packages
# see: https://corte.si/posts/code/setuptoolssucks/ # see: https://corte.si/posts/code/setuptoolssucks/
rm -f clang64/lib/python3.11/site-packages/easy-install.pth rm -f clang64/lib/python3.12/site-packages/easy-install.pth
# patch broken shebangs (Z:/nix/store/...) # patch broken shebangs (Z:/nix/store/...)
for entrypoint in clang64/bin/*-script.py; do for entrypoint in clang64/bin/*-script.py; do
[ -f "$entrypoint" ] || continue [ -f "$entrypoint" ] || continue