EDO.ECLASS

Section: eclass-manpages (5)
Updated: Oct 2022
Index Return to Main Contents

NAME

edo.eclass - Convenience function to run commands verbosely and die on failure

DESCRIPTION

This eclass provides the 'edo' command, and an 'edob' variant for ebegin/eend, which logs the command used verbosely and dies (exits) on failure.

This eclass should be used only where needed to give a more verbose log, e.g. for invoking non-standard ./configure scripts, or building objects/binaries directly within ebuilds via compiler invocations. It is NOT to be used in place of generic 'command || die' where verbosity is unnecessary.

SUPPORTED EAPIS

7 8

FUNCTIONS

edo <command> [<args>...]
Executes a short 'command' with any given arguments and exits on failure unless called under 'nonfatal'.
edob <command> [<args>...]
Executes 'command' with ebegin & eend with any given arguments and exits on failure unless called under 'nonfatal'.

AUTHORS

Sam James <sam@gentoo.org>

MAINTAINERS

QA Team <qa@gentoo.org>

REPORTING BUGS

Please report bugs via https://bugs.gentoo.org/

FILES

edo.eclass

SEE ALSO

ebuild(5)
https://gitweb.gentoo.org/repo/gentoo.git/log/eclass/edo.eclass


Index

NAME
DESCRIPTION
SUPPORTED EAPIS
FUNCTIONS
AUTHORS
MAINTAINERS
REPORTING BUGS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 03:27:02 GMT, October 04, 2022