From: Mart Raudsepp <leio@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] eutils.eclass: Add awk wrapper - eawk - edit file in place
Date: Thu, 19 May 2016 21:13:25 +0300 [thread overview]
Message-ID: <1463681605.24640.14.camel@gentoo.org> (raw)
In-Reply-To: <878tz6x7f5.fsf@freja.aidecoe.name>
Ühel kenal päeval, N, 19.05.2016 kell 18:51, kirjutas Amadeusz
Żołnowski:
> Ulrich Mueller <ulm@gentoo.org> writes:
> > The EAPI 6 method would be to use "|| die -n". Then the caller can
> > either call "eawk" if the function should die automatically, or
> > "nonfatal eawk" if it should return with an error status.
Don't you possibly need a || return as well in there if it isn't the
last things in the function?
https://blogs.gentoo.org/mgorny/2015/11/13/the-ultimate-guide-to-eapi-6
> Yes, that seems better. Hasn't it been introduced earlier than in
> EAPI 6?
die -n argument is new in EAPI 6
nonfatal was added in EAPI 4, together with the fatality defaults for
PM utilities.
See https://devmanual.gentoo.org/ebuild-writing/eapi/
Mart
next prev parent reply other threads:[~2016-05-19 18:13 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-18 21:25 [gentoo-dev] [PATCH] eutils.eclass: Add awk wrapper - eawk - edit file in place aidecoe
2016-05-18 22:28 ` Göktürk Yüksek
2016-05-18 22:53 ` Amadeusz Żołnowski
2016-05-18 23:31 ` Göktürk Yüksek
2016-05-19 0:09 ` Jeroen Roovers
2016-05-19 2:02 ` Göktürk Yüksek
2016-05-19 9:35 ` Ulrich Mueller
2016-05-19 17:51 ` Amadeusz Żołnowski
2016-05-19 18:13 ` Mart Raudsepp [this message]
2016-05-19 18:35 ` Ulrich Mueller
2016-05-19 20:04 ` Amadeusz Żołnowski
2016-05-20 9:31 ` Ulrich Mueller
2016-05-18 22:43 ` Robin H. Johnson
2016-05-19 21:50 ` Amadeusz Żołnowski
2016-05-19 22:04 ` Robin H. Johnson
2016-05-20 17:42 ` Amadeusz Żołnowski
2016-05-21 12:20 ` Amadeusz Żołnowski
2016-05-19 23:16 ` Mart Raudsepp
2016-05-19 23:29 ` Göktürk Yüksek
2016-05-20 3:07 ` Mike Frysinger
2016-05-20 16:49 ` Amadeusz Żołnowski
2016-05-20 3:08 ` Mike Frysinger
2016-05-20 19:32 ` Patrice Clement
2016-05-20 19:47 ` rindeal
2016-05-20 20:09 ` Amadeusz Żołnowski
2016-05-21 14:58 ` Mike Frysinger
2016-05-21 16:08 ` Amadeusz Żołnowski
2016-05-21 16:27 ` Kristian Fiskerstrand
2016-05-22 0:45 ` Mike Frysinger
2016-05-22 7:17 ` [gentoo-dev] Closed: " Amadeusz Żołnowski
2016-05-22 7:45 ` [gentoo-dev] " Michał Górny
2016-05-21 12:45 ` aidecoe
2016-05-21 13:41 ` [gentoo-dev] " Amadeusz Żołnowski
2016-05-21 13:49 ` [gentoo-dev] " aidecoe
2016-05-21 20:38 ` Michał Górny
2016-05-21 21:20 ` Amadeusz Żołnowski
-- strict thread matches above, loose matches on Subject: below --
2016-05-20 18:34 rindeal
2016-05-20 20:02 ` Amadeusz Żołnowski
2016-05-20 20:35 ` rindeal
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=1463681605.24640.14.camel@gentoo.org \
--to=leio@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