public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/devmanual:master commit in: tools-reference/cat/
@ 2016-02-08  8:20 Ulrich Müller
  0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2016-02-08  8:20 UTC (permalink / raw
  To: gentoo-commits

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 &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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-08  8:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-08  8:20 [gentoo-commits] proj/devmanual:master commit in: tools-reference/cat/ Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox