about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2025-03-12 08:43:21 -0700
committerJosh Stone <jistone@redhat.com>2025-03-21 17:18:44 -0700
commit7fc74cdd8bb2737003f18e0a4711703f0d984bbd (patch)
treeffc4112a88bab56e546faaa8a27188d2e1c87500
parent2c0e146d6d4fd67c7b27c6eb2e9bacd346751371 (diff)
downloadrust-7fc74cdd8bb2737003f18e0a4711703f0d984bbd.tar.gz
rust-7fc74cdd8bb2737003f18e0a4711703f0d984bbd.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.

(cherry picked from commit d183da6331addfc69dfb157ef8ffc051ff0508bd)
-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 c33f11f684f..f9ff133b651 100644
--- a/src/bootstrap/src/core/build_steps/dist.rs
+++ b/src/bootstrap/src/core/build_steps/dist.rs
@@ -515,7 +515,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());