mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-portage/emlop: Use new cargo_target_dir helper
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
@@ -100,12 +100,12 @@ src_install() {
|
||||
cargo_src_install
|
||||
dodoc README.md CHANGELOG.md
|
||||
# bash
|
||||
./target/$(usex debug debug release)/emlop complete bash > emlop || die
|
||||
"$(cargo_target_dir)"/emlop complete bash > emlop || die
|
||||
dobashcomp emlop
|
||||
# zsh
|
||||
./target/$(usex debug debug release)/emlop complete zsh > _emlop || die
|
||||
"$(cargo_target_dir)"/emlop complete zsh > _emlop || die
|
||||
dozshcomp _emlop
|
||||
# fish
|
||||
./target/$(usex debug debug release)/emlop complete fish > emlop.fish || die
|
||||
"$(cargo_target_dir)"/emlop complete fish > emlop.fish || die
|
||||
dofishcomp emlop.fish
|
||||
}
|
||||
|
||||
@@ -115,12 +115,12 @@ src_install() {
|
||||
cargo_src_install
|
||||
dodoc README.md CHANGELOG.md emlop.toml
|
||||
# bash
|
||||
./target/$(usex debug debug release)/emlop complete bash > emlop || die
|
||||
"$(cargo_target_dir)"/emlop complete bash > emlop || die
|
||||
dobashcomp emlop
|
||||
# zsh
|
||||
./target/$(usex debug debug release)/emlop complete zsh > _emlop || die
|
||||
"$(cargo_target_dir)"/emlop complete zsh > _emlop || die
|
||||
dozshcomp _emlop
|
||||
# fish
|
||||
./target/$(usex debug debug release)/emlop complete fish > emlop.fish || die
|
||||
"$(cargo_target_dir)"/emlop complete fish > emlop.fish || die
|
||||
dofishcomp emlop.fish
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user