diff options
| author | Josh Stone <jistone@redhat.com> | 2025-03-12 08:43:21 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2025-03-12 08:43:21 -0700 |
| commit | d183da6331addfc69dfb157ef8ffc051ff0508bd (patch) | |
| tree | f7ba1713cf3d910fb53a7b1e96d5acd5a87708e1 | |
| parent | 0998d4095b0f11061f78a3f9c77a87838a4c1cb7 (diff) | |
| download | rust-d183da6331addfc69dfb157ef8ffc051ff0508bd.tar.gz rust-d183da6331addfc69dfb157ef8ffc051ff0508bd.zip | |
Install licenses into `share/doc/rust/licenses`
This changes the path from "licences" to "licenses" for consistency across the repo, including the usage directly around this line. This is a US/UK spelling difference, but I believe the US spelling is also more common in open source in general.
| -rw-r--r-- | src/bootstrap/src/core/build_steps/dist.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/build_steps/dist.rs b/src/bootstrap/src/core/build_steps/dist.rs index ec0edeab996..15083e0a1a4 100644 --- a/src/bootstrap/src/core/build_steps/dist.rs +++ b/src/bootstrap/src/core/build_steps/dist.rs @@ -519,7 +519,7 @@ impl Step for Rustc { // The REUSE-managed license files let license = |path: &Path| { - builder.install(path, &image.join("share/doc/rust/licences"), 0o644); + builder.install(path, &image.join("share/doc/rust/licenses"), 0o644); }; for entry in t!(std::fs::read_dir(builder.src.join("LICENSES"))).flatten() { license(&entry.path()); |
