Skip to content

Commit

Permalink
fix: 🐛 etc/bash_complettion -> src/etc/... to avoid copy error
Browse files Browse the repository at this point in the history
chore: 🎨 format dist.rs
  • Loading branch information
ekusiadadus committed May 25, 2023
1 parent 6ce2273 commit 08ce68b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,11 @@ impl Step for Cargo {

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");

Expand Down

0 comments on commit 08ce68b

Please sign in to comment.