summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-06-06 12:22:17 +0000
committerrillig <rillig@pkgsrc.org>2020-06-06 12:22:17 +0000
commit84e41ed3f7b82c1e0752e5e8dd84a284c9deeda5 (patch)
tree725601b7c1f7109be8032730f4293e45265149f7
parent6311c83f7944c8c9e378bf522c131b187ebf74e8 (diff)
downloadpkgsrc-84e41ed3f7b82c1e0752e5e8dd84a284c9deeda5.tar.gz
doc/guide: add more details for set -eu in bulk build variant
-rw-r--r--doc/guide/files/bulk.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/guide/files/bulk.xml b/doc/guide/files/bulk.xml
index 28c4cff9d55..4b9e316c95e 100644
--- a/doc/guide/files/bulk.xml
+++ b/doc/guide/files/bulk.xml
@@ -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 @@ line to &mk.conf;.</para>
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>