2023-07-16 14:54:25 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
|
|
|
|
Date: Thu, 13 Jul 2023 21:16:53 +0200
|
|
|
|
Subject: [PATCH] bootstrap: Change bash-completion dir
|
|
|
|
|
|
|
|
---
|
2024-01-03 02:00:18 +00:00
|
|
|
src/bootstrap/src/core/build_steps/dist.rs | 6 +++++-
|
2023-08-05 01:08:23 +00:00
|
|
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
2023-07-16 14:54:25 +00:00
|
|
|
|
2024-01-03 02:00:18 +00:00
|
|
|
diff --git a/src/bootstrap/src/core/build_steps/dist.rs b/src/bootstrap/src/core/build_steps/dist.rs
|
2024-03-21 23:40:26 +00:00
|
|
|
index 6940e0c50752..d45daad3a829 100644
|
2024-01-03 02:00:18 +00:00
|
|
|
--- a/src/bootstrap/src/core/build_steps/dist.rs
|
|
|
|
+++ b/src/bootstrap/src/core/build_steps/dist.rs
|
|
|
|
@@ -1071,7 +1071,11 @@ fn run(self, builder: &Builder<'_>) -> Option<GeneratedTarball> {
|
2023-08-05 01:08:23 +00:00
|
|
|
|
|
|
|
tarball.add_file(&cargo, "bin", 0o755);
|
2023-07-16 14:54:25 +00:00
|
|
|
tarball.add_file(etc.join("_cargo"), "share/zsh/site-functions", 0o644);
|
2023-08-05 01:08:23 +00:00
|
|
|
- tarball.add_renamed_file(etc.join("cargo.bashcomp.sh"), "etc/bash_completion.d", "cargo");
|
|
|
|
+ tarball.add_renamed_file(
|
|
|
|
+ etc.join("cargo.bashcomp.sh"),
|
2023-07-16 14:54:25 +00:00
|
|
|
+ "share/bash-completion/completions",
|
2023-08-05 01:08:23 +00:00
|
|
|
+ "cargo",
|
|
|
|
+ );
|
2023-07-16 14:54:25 +00:00
|
|
|
tarball.add_dir(etc.join("man"), "share/man/man1");
|
2023-08-05 01:08:23 +00:00
|
|
|
tarball.add_legal_and_readme_to("share/doc/cargo");
|
|
|
|
|