summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2024-06-14 10:46:40 +0100
committerJames Le Cuirot <chewi@gentoo.org>2024-06-17 10:36:58 +0100
commita54beaa7e596d245e534e45d69a05f3c2447ea0b (patch)
tree563e25b5df1a7647561344efa6acb08c74e756c1 /sys-apps
parentsys-apps/bat: Use new cargo_target_dir helper (diff)
downloadgentoo-a54beaa7e596d245e534e45d69a05f3c2447ea0b.tar.gz
gentoo-a54beaa7e596d245e534e45d69a05f3c2447ea0b.tar.bz2
gentoo-a54beaa7e596d245e534e45d69a05f3c2447ea0b.zip
sys-apps/ripgrep: Use new cargo_target_dir helper
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/ripgrep/ripgrep-14.1.0.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-apps/ripgrep/ripgrep-14.1.0.ebuild b/sys-apps/ripgrep/ripgrep-14.1.0.ebuild
index 97d8367a346e..904eb11c2b63 100644
--- a/sys-apps/ripgrep/ripgrep-14.1.0.ebuild
+++ b/sys-apps/ripgrep/ripgrep-14.1.0.ebuild
@@ -99,21 +99,21 @@ src_install() {
cargo_src_install
newbashcomp - rg <<-EOF
- $(target/$(usex debug debug release)/rg --generate complete-bash)
+ "$(cargo_target_dir)"/rg --generate complete-bash)
EOF
insinto /usr/share/fish/vendor_completions.d
newins - rg.fish <<-EOF
- $(target/$(usex debug debug release)/rg --generate complete-fish)
+ "$(cargo_target_dir)"/rg --generate complete-fish)
EOF
insinto /usr/share/zsh/site-functions
newins - _rg <<-EOF
- $(target/$(usex debug debug release)/rg --generate complete-zsh)
+ "$(cargo_target_dir)"/rg --generate complete-zsh)
EOF
dodoc CHANGELOG.md FAQ.md GUIDE.md README.md
newman - rg.1 <<-EOF
- $(target/$(usex debug debug release)/rg --generate man)
+ "$(cargo_target_dir)"/rg --generate man)
EOF
}