aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöktürk Yüksek <gokturk@binghamton.edu>2016-02-08 02:45:18 -0500
committerUlrich Müller <ulm@gentoo.org>2016-02-08 09:19:58 +0100
commitee4f2cc19c2cf18a7d557df94016aa05c859ff2b (patch)
tree7f8881b16cad2f3151acd693bf9a58a53e27a62d /tools-reference
parentebuild-writing/misc-files/metadata: Don't mention glep31check. (diff)
downloaddevmanual-ee4f2cc19c2cf18a7d557df94016aa05c859ff2b.tar.gz
devmanual-ee4f2cc19c2cf18a7d557df94016aa05c859ff2b.tar.bz2
devmanual-ee4f2cc19c2cf18a7d557df94016aa05c859ff2b.zip
tools-reference/cat: add '|| die' to the here documents example
Signed-off-by: Göktürk Yüksek <gokturk@binghamton.edu>
Diffstat (limited to 'tools-reference')
-rw-r--r--tools-reference/cat/text.xml2
1 files changed, 1 insertions, 1 deletions
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 &lt;&lt;- EOF &gt; "${D}/etc/mail/trusted-users"
+ cat &lt;&lt;- EOF &gt; "${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