Fix msys2 package #22

Merged
sb10q merged 1 commits from esavkin/artiq-extrapkg:fix-msys2-package into master 2024-08-14 15:44:12 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ build() {
package() { package() {
cd source cd source
wine-msys2-build python -m installer --destdir="${pkgdir}" dist/*.whl wine-msys2-build python -m installer --destdir="${pkgdir}" --prefix="clang64/" dist/*.whl
# patch broken shebangs (Z:/nix/store/...) # patch broken shebangs (Z:/nix/store/...)
for entrypoint in ${pkgdir}/bin/*-script.py; do for entrypoint in ${pkgdir}/bin/*-script.py; do
[ -f "$entrypoint" ] || continue [ -f "$entrypoint" ] || continue