Skip to content

Commit 9c651b3

Browse files
committed
bootstrap: update clippy license locations which changed due to relicensing.
1 parent ab4e697 commit 9c651b3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: src/bootstrap/dist.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -1263,14 +1263,16 @@ impl Step for Clippy {
12631263
builder.install(&cargoclippy, &image.join("bin"), 0o755);
12641264
let doc = image.join("share/doc/clippy");
12651265
builder.install(&src.join("README.md"), &doc, 0o644);
1266-
builder.install(&src.join("LICENSE"), &doc, 0o644);
1266+
builder.install(&src.join("LICENSE-APACHE"), &doc, 0o644);
1267+
builder.install(&src.join("LICENSE-MIT"), &doc, 0o644);
12671268

12681269
// Prepare the overlay
12691270
let overlay = tmp.join("clippy-overlay");
12701271
drop(fs::remove_dir_all(&overlay));
12711272
t!(fs::create_dir_all(&overlay));
12721273
builder.install(&src.join("README.md"), &overlay, 0o644);
1273-
builder.install(&src.join("LICENSE"), &doc, 0o644);
1274+
builder.install(&src.join("LICENSE-APACHE"), &doc, 0o644);
1275+
builder.install(&src.join("LICENSE-MIT"), &doc, 0o644);
12741276
builder.create(&overlay.join("version"), &version);
12751277

12761278
// Generate the installer tarball

0 commit comments

Comments
 (0)