From 08ce68b6a6bad360e9c3611ad60cf6598401f878 Mon Sep 17 00:00:00 2001 From: ekusiadadus Date: Fri, 28 Apr 2023 01:19:10 +0900 Subject: [PATCH] fix: :bug: etc/bash_complettion -> src/etc/... to avoid copy error chore: :art: format dist.rs --- src/bootstrap/dist.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index 3b35ca1d15d..05cd0158622 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -1068,7 +1068,11 @@ fn run(self, builder: &Builder<'_>) -> Option { tarball.add_file(&cargo, "bin", 0o755); tarball.add_file(etc.join("_cargo"), "share/zsh/site-functions", 0o644); - tarball.add_renamed_file(etc.join("cargo.bashcomp.sh"), "etc/bash_completion.d", "cargo"); + tarball.add_renamed_file( + etc.join("cargo.bashcomp.sh"), + "src/etc/bash_completion.d", + "cargo", + ); tarball.add_dir(etc.join("man"), "share/man/man1"); tarball.add_legal_and_readme_to("share/doc/cargo");