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
|
|
|
|
|
|
|
|
---
|
2023-08-05 01:08:23 +00:00
|
|
|
src/bootstrap/dist.rs | 6 +++++-
|
|
|
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
2023-07-16 14:54:25 +00:00
|
|
|
|
|
|
|
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
|
2023-08-29 12:52:41 +00:00
|
|
|
index be5ecfda261a..7ab950067eb4 100644
|
2023-07-16 14:54:25 +00:00
|
|
|
--- a/src/bootstrap/dist.rs
|
|
|
|
+++ b/src/bootstrap/dist.rs
|
2023-08-29 12:52:41 +00:00
|
|
|
@@ -1074,7 +1074,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");
|
|
|
|
|