Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Zac Medico <zmedico@g.o>
Subject: [gentoo-portage-dev] [PATCH] man/ebuild.5: document assert for bug #528760
Date: Sun, 09 Nov 2014 19:18:46
Message-Id: 1415560711-30791-1-git-send-email-zmedico@gentoo.org
1 X-Gentoo-Bug: 528760
2 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=528760
3 ---
4 man/ebuild.5 | 7 ++++++-
5 1 file changed, 6 insertions(+), 1 deletion(-)
6
7 diff --git a/man/ebuild.5 b/man/ebuild.5
8 index 89bd6a2..b587264 100644
9 --- a/man/ebuild.5
10 +++ b/man/ebuild.5
11 @@ -1,4 +1,4 @@
12 -.TH "EBUILD" "5" "Jan 2014" "Portage VERSION" "Portage"
13 +.TH "EBUILD" "5" "Nov 2014" "Portage VERSION" "Portage"
14
15 .SH "NAME"
16 ebuild \- the internal format, variables, and functions in an ebuild script
17 @@ -969,6 +969,11 @@ default_src_test
18
19 .SS "General:"
20 .TP
21 +.B assert\fR \fI[reason]
22 +Checks the value of the shell's PIPESTATUS array variable, and if any
23 +component is non-zero (indicating failure), calls die with \fIreason\fR
24 +as a failure message.
25 +.TP
26 .B die\fR \fI[reason]
27 Causes the current emerge process to be aborted. The final display will
28 include \fIreason\fR.
29 --
30 2.0.4

Replies