Commit d12e123
authored
fix: follow redirects and add fallback for zlib download in pyinstaller build (#9104)
* test: trigger mirror sync verification
* fix: add -L flag and GitHub fallback for zlib download in pyinstaller build
The zlib.net URL now returns a redirect, causing curl to save a 185-byte
redirect page instead of the tarball. This breaks tar extraction and
causes the Linux pyinstaller build to fail.
Add -L flag to follow redirects (matching the OpenSSL curl call) and add
GitHub releases as a fallback mirror.
* fix: add -f flag so HTTP errors trigger the GitHub fallback1 parent 7e821f9 commit d12e123
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
0 commit comments