Revert "fix: 🐛 etc/bash_complettion -> src/etc/... to avoid copy error"

This reverts commit 08ce68b6a6.
This commit is contained in:
ekusiadadus 2023-07-12 00:54:27 +09:00
parent b3ab80c119
commit 05bc71cfaf

View File

@ -1074,11 +1074,7 @@ 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"),
"src/etc/bash_completion.d",
"cargo",
);
tarball.add_renamed_file(etc.join("cargo.bashcomp.sh"), "etc/bash_completion.d", "cargo");
tarball.add_dir(etc.join("man"), "share/man/man1");
tarball.add_legal_and_readme_to("share/doc/cargo");