commit: 6ebc0bd95ef60031be8bdba999f19c0d137ce05e Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Mar 21 05:12:56 2021 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Tue Mar 30 07:20:41 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=6ebc0bd9
ebuild-writing/variables: minor tweak to eapi7-ver reference Signed-off-by: Sam James <sam <AT> gentoo.org> [Avoid "EAPI 7+", as "+" is a legal character in an EAPI name.] Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> ebuild-writing/variables/text.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ebuild-writing/variables/text.xml b/ebuild-writing/variables/text.xml index 55cc3bd..97561e0 100644 --- a/ebuild-writing/variables/text.xml +++ b/ebuild-writing/variables/text.xml @@ -631,10 +631,11 @@ to read. </p> <p> -Some ebuilds use calls to <c>sed</c>, <c>awk</c> and / or <c>cut</c> to do this. This -must <e>not</e> be done for any new code, and should be fixed to use either -eapi7-ver or bash substitution where possible. Global scope non-bash code is -highly discouraged. +Some ebuilds use calls to <c>sed</c>, <c>awk</c> and / or <c>cut</c> to do this. +This must <e>not</e> be done for any new code and should be fixed to use +built-in version manipulation commands (for EAPI 7 or later), Bash substitution, +or in older EAPIs before 7, <c>eapi7-ver</c>. Global scope non-Bash code is +<e>strongly</e> discouraged. </p> <p>
