1 |
On 18.4.2022 20.59, Sam James wrote: |
2 |
> Signed-off-by: Sam James <sam@g.o> |
3 |
> --- |
4 |
> eclass/edo.eclass | 7 +++++-- |
5 |
> 1 file changed, 5 insertions(+), 2 deletions(-) |
6 |
> |
7 |
> diff --git a/eclass/edo.eclass b/eclass/edo.eclass |
8 |
> index 550d6770cb63..c2e7ed60083f 100644 |
9 |
> --- a/eclass/edo.eclass |
10 |
> +++ b/eclass/edo.eclass |
11 |
> @@ -10,9 +10,12 @@ |
12 |
> # @BLURB: Convenience function to run commands verbosely and die on failure |
13 |
> # @DESCRIPTION: |
14 |
> # This eclass provides the 'edo' command, and an 'edob' variant for ebegin/eend, |
15 |
> -# which dies (exits) on failure and logs the command used verbosely. |
16 |
> +# which logs the command used verbosely and dies (exits) on failure. |
17 |
> # |
18 |
> - |
19 |
> +# This eclass should be used only where needed to give a more verbose log, e.g. |
20 |
> +# for invoking non-standard ./configure scripts, or building objects/binaries |
21 |
> +# directly within ebuilds via compiler invocations. It is NOT to be used |
22 |
> +# in place of generic 'command || die' where verbosity is unnecessary. |
23 |
> case ${EAPI} in |
24 |
> 7|8) ;; |
25 |
> *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
26 |
|
27 |
Thanks for this clarification, had me wondering. |
28 |
|
29 |
-- juippis |