about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-17 16:34:50 +0100
committerGitHub <noreply@github.com>2025-03-17 16:34:50 +0100
commit78d141fca0a8b53960e07e1eba705717ccf05273 (patch)
treeda9136363d4a29f7a1b76f1816c9464eb79eb716
parent8f5c09b37cd42bbad105bc6f81eaa681bc157259 (diff)
parentd183da6331addfc69dfb157ef8ffc051ff0508bd (diff)
downloadrust-78d141fca0a8b53960e07e1eba705717ccf05273.tar.gz
rust-78d141fca0a8b53960e07e1eba705717ccf05273.zip
Rollup merge of #138412 - cuviper:licenses, r=jieyouxu
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.rs2
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 ffb60bd5634..11236fd8203 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());