summarylogtreecommitdiffstats
path: root/0002-bootstrap-Change-bash-completion-dir.patch
blob: 909882e43d9877f2fd366d7b7769c9a7e5fd3a6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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

---
 src/bootstrap/src/core/build_steps/dist.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bootstrap/src/core/build_steps/dist.rs b/src/bootstrap/src/core/build_steps/dist.rs
index 56fea6159831..f9d7943f6ac5 100644
--- a/src/bootstrap/src/core/build_steps/dist.rs
+++ b/src/bootstrap/src/core/build_steps/dist.rs
@@ -1437,7 +1437,7 @@ fn run(self, builder: &Builder<'_>) -> Option<GeneratedTarball> {
         tarball.add_file(etc.join("_cargo"), "share/zsh/site-functions", FileType::Regular);
         tarball.add_renamed_file(
             etc.join("cargo.bashcomp.sh"),
-            "etc/bash_completion.d",
+            "share/bash-completion/completions",
             "cargo",
             FileType::Regular,
         );