commit: ee4f2cc19c2cf18a7d557df94016aa05c859ff2b
Author: Göktürk Yüksek <gokturk <AT> binghamton <DOT> edu>
AuthorDate: Mon Feb 8 07:45:18 2016 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Feb 8 08:19:58 2016 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=ee4f2cc1
tools-reference/cat: add '|| die' to the here documents example
Signed-off-by: Göktürk Yüksek <gokturk <AT> binghamton.edu>
tools-reference/cat/text.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools-reference/cat/text.xml b/tools-reference/cat/text.xml
index 87ad905..7b13468 100644
--- a/tools-reference/cat/text.xml
+++ b/tools-reference/cat/text.xml
@@ -51,7 +51,7 @@ On the other hand, <c>cat</c> is exceptionally useful for
so-called
<codesample lang="ebuild">
src_install() {
# ...
- cat <<- EOF > "${D}/etc/mail/trusted-users"
+ cat <<- EOF > "${D}/etc/mail/trusted-users" || die
# trusted-users - users that can send mail as others without a warning
# apache, mailman, majordomo, uucp are good candidates
EOF