about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2018-10-13 20:38:49 +0200
committerMatthias Krüger <matthias.krueger@famsik.de>2018-10-13 20:38:49 +0200
commit9c651b3b317575cd9241e8bee343116c9fb81bc7 (patch)
tree028ca28b399e2475e067edfa7e6c24db40c25cd4
parentab4e697d0b70b80b85255962b5fb5a027929e9c9 (diff)
downloadrust-9c651b3b317575cd9241e8bee343116c9fb81bc7.tar.gz
rust-9c651b3b317575cd9241e8bee343116c9fb81bc7.zip
bootstrap: update clippy license locations which changed due to relicensing.
-rw-r--r--src/bootstrap/dist.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
index c25f94357f2..cf79d4f777a 100644
--- a/src/bootstrap/dist.rs
+++ b/src/bootstrap/dist.rs
@@ -1263,14 +1263,16 @@ impl Step for Clippy {
         builder.install(&cargoclippy, &image.join("bin"), 0o755);
         let doc = image.join("share/doc/clippy");
         builder.install(&src.join("README.md"), &doc, 0o644);
-        builder.install(&src.join("LICENSE"), &doc, 0o644);
+        builder.install(&src.join("LICENSE-APACHE"), &doc, 0o644);
+        builder.install(&src.join("LICENSE-MIT"), &doc, 0o644);
 
         // Prepare the overlay
         let overlay = tmp.join("clippy-overlay");
         drop(fs::remove_dir_all(&overlay));
         t!(fs::create_dir_all(&overlay));
         builder.install(&src.join("README.md"), &overlay, 0o644);
-        builder.install(&src.join("LICENSE"), &doc, 0o644);
+        builder.install(&src.join("LICENSE-APACHE"), &doc, 0o644);
+        builder.install(&src.join("LICENSE-MIT"), &doc, 0o644);
         builder.create(&overlay.join("version"), &version);
 
         // Generate the installer tarball