aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshlen <dev@anthes.is>2024-08-27 14:42:27 -0600
committerDavid Roman <davidroman96@gmail.com>2024-08-28 12:46:44 +0200
commit4289a6bc2b7b012f7726e43f292bbee1e3b9e440 (patch)
tree6422b123d30a78ec83f41d8e91d2dbc70b38184e /app-misc
parentdev-perl/File-Util: new package, add 4.131591 (diff)
downloadguru-4289a6bc2b7b012f7726e43f292bbee1e3b9e440.tar.gz
guru-4289a6bc2b7b012f7726e43f292bbee1e3b9e440.tar.bz2
guru-4289a6bc2b7b012f7726e43f292bbee1e3b9e440.zip
app-misc/xplr: fix dobin failure (nonexistent path)
In src_install(), the dobin line causes an installation failure: !!! dobin: target/release/xplr does not exist Using cargo_target_dir() from the cargo eclass resolves the installation failure. Signed-off-by: Ashlen <dev@anthes.is> Signed-off-by: David Roman <davidroman96@gmail.com>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/xplr/xplr-0.21.3.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-misc/xplr/xplr-0.21.3.ebuild b/app-misc/xplr/xplr-0.21.3.ebuild
index 3d74241e2..5e47aa720 100644
--- a/app-misc/xplr/xplr-0.21.3.ebuild
+++ b/app-misc/xplr/xplr-0.21.3.ebuild
@@ -248,7 +248,7 @@ src_compile() {
src_install() {
dodoc README.md
- dobin target/$(usex debug debug release)/xplr
+ dobin $(cargo_target_dir)/xplr
newicon -s 16 assets/icon/${PN}16.png ${PN}.png
newicon -s 32 assets/icon/${PN}32.png ${PN}.png
newicon -s 64 assets/icon/${PN}64.png ${PN}.png