public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ip-sentinel/
Date: Fri, 13 May 2022 20:04:12 +0000 (UTC)	[thread overview]
Message-ID: <1652472213.083bcaf61105b441cf86eddb223b414359997f82.sam@gentoo> (raw)

commit:     083bcaf61105b441cf86eddb223b414359997f82
Author:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Wed Apr 20 19:43:09 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 13 20:03:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=083bcaf6

net-misc/ip-sentinel: [QA] eend missing argument

Replace the ebegin-end pair with einfo, and add "|| die" to each of the
mkdir and cp lines.

Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild b/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild
index 44c2ea9d4979..1a50de532bad 100644
--- a/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild
+++ b/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -40,10 +40,9 @@ pkg_config() {
 	CHROOT=`sed -n 's/^[[:blank:]]\?CHROOT="\([^"]\+\)"/\1/p' /etc/conf.d/ip-sentinel 2>/dev/null`
 
 	if [ ! -d "${CHROOT:=/chroot/ip-sentinel}" ] ; then
-		ebegin "Setting up the chroot directory"
-			mkdir -m 0755 -p "${CHROOT}/etc"
-			cp -R /etc/ip-sentinel.cfg "${CHROOT}/etc"
-		eend
+		einfo "Setting up the chroot directory"
+		mkdir -m 0755 -p "${CHROOT}/etc" || die
+		cp -R /etc/ip-sentinel.cfg "${CHROOT}/etc" || die
 
 		if [ "`grep '^#[[:blank:]]\?CHROOT' /etc/conf.d/ip-sentinel`" ] ; then
 			sed -e '/^#[[:blank:]]\?CHROOT/s/^#[[:blank:]]\?//' \


             reply	other threads:[~2022-05-13 20:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-13 20:04 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-11-27 18:40 [gentoo-commits] repo/gentoo:master commit in: net-misc/ip-sentinel/ Aaron Bauman
2020-11-27 16:49 Thomas Deutschmann

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=1652472213.083bcaf61105b441cf86eddb223b414359997f82.sam@gentoo \
    --to=sam@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