From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1671741-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id A2C35158083
	for <garchives@archives.gentoo.org>; Wed, 18 Sep 2024 23:46:47 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 902BFE29A6;
	Wed, 18 Sep 2024 23:46:46 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 6F607E29A5
	for <gentoo-commits@lists.gentoo.org>; Wed, 18 Sep 2024 23:46:43 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id EE366343056
	for <gentoo-commits@lists.gentoo.org>; Wed, 18 Sep 2024 23:46:42 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A81427EB
	for <gentoo-commits@lists.gentoo.org>; Wed, 18 Sep 2024 23:46:41 +0000 (UTC)
From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" <contact@hacktivis.me>
Message-ID: <1726573045.19e11cbc52ba3e7ab832ee4a34024250f5e8ceb5.lanodan@gentoo>
Subject: [gentoo-commits] repo/proj/guru:master commit in: gui-apps/satty/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: gui-apps/satty/satty-0.14.0.ebuild gui-apps/satty/satty-9999.ebuild
X-VCS-Directories: gui-apps/satty/
X-VCS-Committer: lanodan
X-VCS-Committer-Name: Haelwenn Monnier
X-VCS-Revision: 19e11cbc52ba3e7ab832ee4a34024250f5e8ceb5
X-VCS-Branch: master
Date: Wed, 18 Sep 2024 23:46:41 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: a8541577-0690-4aa9-ba23-c8f4118bb533
X-Archives-Hash: 767ac87bc10beb3fb5f5d90d6ab952cc

commit:     19e11cbc52ba3e7ab832ee4a34024250f5e8ceb5
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Tue Sep 17 11:32:25 2024 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Tue Sep 17 11:37:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19e11cbc

gui-apps/satty: fix dobin location

Bug: https://bugs.gentoo.org/939187
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 gui-apps/satty/satty-0.14.0.ebuild | 8 +-------
 gui-apps/satty/satty-9999.ebuild   | 8 +-------
 2 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/gui-apps/satty/satty-0.14.0.ebuild b/gui-apps/satty/satty-0.14.0.ebuild
index b5fbbd601..76135c5be 100644
--- a/gui-apps/satty/satty-0.14.0.ebuild
+++ b/gui-apps/satty/satty-0.14.0.ebuild
@@ -261,13 +261,7 @@ src_unpack() {
 src_install() {
 	dodoc README.md
 
-	if use debug ; then
-		cd target/debug || die
-	else
-		cd target/release  || die
-	fi
-
-	dobin satty
+	dobin "$(cargo_target_dir)"/satty
 	#Just add the icon and desktop file
 	doicon "${S}/assets/satty.svg"
 	domenu "${S}/satty.desktop"

diff --git a/gui-apps/satty/satty-9999.ebuild b/gui-apps/satty/satty-9999.ebuild
index 1c3a8a837..262d43dfb 100644
--- a/gui-apps/satty/satty-9999.ebuild
+++ b/gui-apps/satty/satty-9999.ebuild
@@ -52,13 +52,7 @@ src_unpack() {
 src_install() {
 	dodoc README.md
 
-	if use debug ; then
-		cd target/debug || die
-	else
-		cd target/release  || die
-	fi
-
-	dobin satty
+	dobin "$(cargo_target_dir)"/satty
 	#Just add the icon and desktop file
 	doicon "${S}/assets/satty.svg"
 	domenu "${S}/satty.desktop"