Commit 291f797
committed
Map Amazon Linux 2023 to amazonlinux2023 toolchain infix
Amazon Linux 2023 reports ID=amzn and VERSION_ID=2023 in
/etc/os-release. This combination fell through to the generic
else branch, producing the OS name amzn2023 and thus an invalid
Swift toolchain download URL (swift-...-amzn2023-aarch64.tar.gz),
causing a "Toolchain not found" failure. Special-case it to the
amazonlinux2023 infix that swift.org actually publishes.1 parent 1d53238 commit 291f797
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
488 | 491 | | |
489 | 492 | | |
490 | 493 | | |
| |||
0 commit comments