>>>>> On Fri, 9 Mar 2018, Michał Górny wrote:

> +if ! ___eapi_has_nonfatal_as_executable; then
> +     die "${0##*/} not supported as fallback helper in this EAPI"
> +fi

Nothing wrong with this, but this test isn't strictly necessary.
PMS says in [1]: "Except where otherwise noted, they may be internal
(shell functions or aliases) or external commands available in PATH;
where this is not specified, ebuilds may not rely upon either

So in EAPIs 0 to 6, Portage is free to implement it as shell function,
or external command, or both.


[1] https://projects.gentoo.org/pms/6/pms.html#x1-13100011.3.3

Attachment: pgpQj9Jrmn1pd.pgp
Description: PGP signature

Reply via email to