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