fix: 🐛 etc/bash_complettion -> src/etc/... to avoid copy error
chore: 🎨 format dist.rs
This commit is contained in:
parent
6ce22733b9
commit
08ce68b6a6
@ -1068,7 +1068,11 @@ fn run(self, builder: &Builder<'_>) -> Option<GeneratedTarball> {
|
||||
|
||||
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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user