public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/bat/
Date: Mon, 17 Jun 2024 09:39:30 +0000 (UTC)	[thread overview]
Message-ID: <1718617017.fbcf625ea974fa52a102079cdaa74251305406a7.chewi@gentoo> (raw)

commit:     fbcf625ea974fa52a102079cdaa74251305406a7
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 09:46:34 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 09:36:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbcf625e

sys-apps/bat: Use new cargo_target_dir helper

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 sys-apps/bat/bat-0.23.0-r1.ebuild | 4 ++--
 sys-apps/bat/bat-0.24.0-r1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-apps/bat/bat-0.23.0-r1.ebuild b/sys-apps/bat/bat-0.23.0-r1.ebuild
index b0f52777c924..0a4601f4acbf 100644
--- a/sys-apps/bat/bat-0.23.0-r1.ebuild
+++ b/sys-apps/bat/bat-0.23.0-r1.ebuild
@@ -218,8 +218,8 @@ src_install() {
 
 	einstalldocs
 
-	local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out )
-	cd ${build_dir[0]} || die "Cannot change directory to ${PN} build"
+	local build_dir=( "$(cargo_target_dir)"/build/${PN}-*/out )
+	cd "${build_dir[0]}" || die "Cannot change directory to ${PN} build"
 
 	doman assets/manual/bat.1
 

diff --git a/sys-apps/bat/bat-0.24.0-r1.ebuild b/sys-apps/bat/bat-0.24.0-r1.ebuild
index 0c0d2c793320..ada5fae6a7d5 100644
--- a/sys-apps/bat/bat-0.24.0-r1.ebuild
+++ b/sys-apps/bat/bat-0.24.0-r1.ebuild
@@ -247,8 +247,8 @@ src_install() {
 
 	einstalldocs
 
-	local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out )
-	cd ${build_dir[0]} || die "Cannot change directory to ${PN} build"
+	local build_dir=( "$(cargo_target_dir)"/build/${PN}-*/out )
+	cd "${build_dir[0]}" || die "Cannot change directory to ${PN} build"
 
 	doman assets/manual/bat.1
 


             reply	other threads:[~2024-06-17  9:39 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-17  9:39 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-23 11:11 [gentoo-commits] repo/gentoo:master commit in: sys-apps/bat/ Sam James
2024-03-21  7:24 Ionen Wolkens
2024-03-04  6:00 Sam James
2024-02-16  0:19 Sam James
2024-02-16  0:19 Sam James
2024-02-14 15:17 Joonas Niilola
2024-01-18  8:06 Florian Schmaus
2024-01-12 14:22 Sam James
2024-01-12 14:22 Sam James
2023-09-27 10:30 Joonas Niilola
2023-09-27  4:01 Sam James
2023-09-27  3:45 Sam James
2023-09-27  3:45 Sam James
2023-09-27  3:45 Sam James
2023-06-19 13:41 Joonas Niilola
2023-06-19 13:41 Joonas Niilola
2023-06-19 13:41 Joonas Niilola
2023-03-01 13:46 Joonas Niilola
2023-03-01 13:46 Joonas Niilola
2023-03-01 13:46 Joonas Niilola
2023-02-12  6:51 Joonas Niilola
2022-05-26 12:58 Joonas Niilola
2022-05-26 12:58 Joonas Niilola
2022-04-24 10:05 Joonas Niilola
2022-04-24 10:05 Joonas Niilola
2022-03-05 14:46 Matthew Smith
2022-02-26  2:48 Sam James
2022-02-26  2:48 Sam James
2021-10-11 23:29 Sam James
2021-08-28  2:24 Sam James
2021-07-07 10:54 Joonas Niilola
2021-03-20  8:25 Joonas Niilola
2021-01-16 22:01 Sam James
2020-11-25  7:50 Joonas Niilola
2020-11-25  7:50 Joonas Niilola
2020-11-24  3:00 Sam James
2020-11-24  3:00 Sam James
2020-07-25 11:28 Sam James
2020-07-11 23:56 Georgy Yakovlev
2020-07-11  6:03 Georgy Yakovlev
2020-06-13  8:16 Georgy Yakovlev
2020-06-13  8:15 Georgy Yakovlev
2020-04-25 12:27 Georgy Yakovlev
2020-03-26 22:06 Georgy Yakovlev
2020-02-16 21:01 Georgy Yakovlev
2020-01-02  7:38 Georgy Yakovlev
2019-09-01  7:35 Georgy Yakovlev
2019-09-01  7:35 Georgy Yakovlev
2019-09-01  6:49 Georgy Yakovlev
2019-07-26 18:21 Georgy Yakovlev
2019-07-26 18:21 Georgy Yakovlev
2019-05-16  3:39 Georgy Yakovlev
2019-03-19  0:54 Georgy Yakovlev
2019-02-08  4:24 Georgy Yakovlev
2019-01-08 23:40 Georgy Yakovlev
2019-01-06  9:13 Georgy Yakovlev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1718617017.fbcf625ea974fa52a102079cdaa74251305406a7.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox