*/*: quote subshells where cargo_target_dir is called [4/4]

The previous commits fixed instances where ebuilds weren't using
cargo_target_dir to get the target directory. But, was either using
hardcoded target/release paths, which would break if 'DEBUG' USE flag is
enabled, or it was using something else like
`usex debug debug release`

This commit quotes all the instances where cargo_target_dir is called in
a subshell. Because I was doing that anyway for the files I touched in
https://codeberg.org/gentoo/guru/pulls/21

Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/21
Merges: https://codeberg.org/gentoo/guru/pulls/21
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
ingenarel (NeoJesus) authored and Michał Górny committed 2026-09-10 16:44:06 +02:00
1 parent cc7ba6a578
commit 0cdede5684
10 files changed
+25 -25

No files matched your search

+3 -3
View File
@@ -75,10 +75,10 @@ src_test() {
}
src_install() {
dobin $(cargo_target_dir)/czkawka_cli
dobin "$(cargo_target_dir)/czkawka_cli"
use gtk && dobin $(cargo_target_dir)/czkawka_gui
use krokiet && dobin $(cargo_target_dir)/krokiet
use gtk && dobin "$(cargo_target_dir)/czkawka_gui"
use krokiet && dobin "$(cargo_target_dir)/krokiet"
if use gui; then
doicon data/icons/com.github.qarmin.czkawka.svg