commit:     56fe3529e0ae3d83bf5dc7e506345cbecf19ca0b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 09:26:05 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 29 20:41:36 2021 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=56fe3529

ebuild-writing/error-handling: use eapply, not epatch

Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 ebuild-writing/error-handling/text.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ebuild-writing/error-handling/text.xml 
b/ebuild-writing/error-handling/text.xml
index 110f317..2e99f17 100644
--- a/ebuild-writing/error-handling/text.xml
+++ b/ebuild-writing/error-handling/text.xml
@@ -96,7 +96,7 @@ When using pipes, a subshell is introduced, so the following 
is unsafe:
 </p>
 
 <codesample lang="ebuild">
-cat list | while read file ; do epatch ${file} ; done
+cat list | while read file ; do eapply ${file} ; done
 </codesample>
 
 <p>
@@ -105,7 +105,7 @@ avoids this problem:
 </p>
 
 <codesample lang="ebuild">
-while read file ; do epatch ${file} ; done &lt; list
+while read file ; do eapply ${file} ; done &lt; list
 </codesample>
 
 </body>

Reply via email to