Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc/guide/files doc/guide: add more details for set -e...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c77fb03127a6
branches:  trunk
changeset: 433646:c77fb03127a6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jun 06 12:22:17 2020 +0000

description:
doc/guide: add more details for set -eu in bulk build variant

diffstat:

 doc/guide/files/bulk.xml |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r bd84a0d8d589 -r c77fb03127a6 doc/guide/files/bulk.xml
--- a/doc/guide/files/bulk.xml  Sat Jun 06 11:55:39 2020 +0000
+++ b/doc/guide/files/bulk.xml  Sat Jun 06 12:22:17 2020 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: bulk.xml,v 1.31 2020/06/02 20:03:09 rillig Exp $ -->
+<!-- $NetBSD: bulk.xml,v 1.32 2020/06/06 12:22:17 rillig Exp $ -->
 
 <chapter id="bulk">
 <title>Creating binary packages for everything in pkgsrc (bulk
@@ -420,6 +420,11 @@
 RUN=    @set -eu;
 </programlisting>
 
+<para>After that, ensure that none of the bulk build log files (even
+those for successfully built packages) contains the string
+<literal>parameter not set</literal> or whatever error message the
+command <command>sh -ceu '$undefined'</command> outputs.</para>
+
 <para>See <filename>mk/misc/common.mk</filename> for the existing
 definition.</para>
 



Home | Main Index | Thread Index | Old Index