Skip to content

Commit 08ce68b

Browse files
committed
fix: 🐛 etc/bash_complettion -> src/etc/... to avoid copy error
chore: 🎨 format dist.rs
1 parent 6ce2273 commit 08ce68b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/bootstrap/dist.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,11 @@ impl Step for Cargo {
10681068

10691069
tarball.add_file(&cargo, "bin", 0o755);
10701070
tarball.add_file(etc.join("_cargo"), "share/zsh/site-functions", 0o644);
1071-
tarball.add_renamed_file(etc.join("cargo.bashcomp.sh"), "etc/bash_completion.d", "cargo");
1071+
tarball.add_renamed_file(
1072+
etc.join("cargo.bashcomp.sh"),
1073+
"src/etc/bash_completion.d",
1074+
"cargo",
1075+
);
10721076
tarball.add_dir(etc.join("man"), "share/man/man1");
10731077
tarball.add_legal_and_readme_to("share/doc/cargo");
10741078

0 commit comments

Comments
 (0)