Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/error-handling/
Date: Mon, 29 Mar 2021 20:44:09
Message-Id: 1617050496.56fe3529e0ae3d83bf5dc7e506345cbecf19ca0b.ulm@gentoo
1 commit: 56fe3529e0ae3d83bf5dc7e506345cbecf19ca0b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 20 09:26:05 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 29 20:41:36 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=56fe3529
7
8 ebuild-writing/error-handling: use eapply, not epatch
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 ebuild-writing/error-handling/text.xml | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/ebuild-writing/error-handling/text.xml b/ebuild-writing/error-handling/text.xml
17 index 110f317..2e99f17 100644
18 --- a/ebuild-writing/error-handling/text.xml
19 +++ b/ebuild-writing/error-handling/text.xml
20 @@ -96,7 +96,7 @@ When using pipes, a subshell is introduced, so the following is unsafe:
21 </p>
22
23 <codesample lang="ebuild">
24 -cat list | while read file ; do epatch ${file} ; done
25 +cat list | while read file ; do eapply ${file} ; done
26 </codesample>
27
28 <p>
29 @@ -105,7 +105,7 @@ avoids this problem:
30 </p>
31
32 <codesample lang="ebuild">
33 -while read file ; do epatch ${file} ; done &lt; list
34 +while read file ; do eapply ${file} ; done &lt; list
35 </codesample>
36
37 </body>