git: d89f64cb54 - main - docbuild: source 'local.conf' for machine-specific variables if exists

Glen Barber <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by gjb:

URL: https://cgit.FreeBSD.org/doc/commit/?id=d89f64cb54d74aad3117c7b38229568e1ef2bde6

commit d89f64cb54d74aad3117c7b38229568e1ef2bde6
Author:     Glen Barber <[email protected]>
AuthorDate: 2020-12-31 04:24:38 +0000
Commit:     Glen Barber <[email protected]>
CommitDate: 2020-12-31 04:24:38 +0000

    docbuild: source 'local.conf' for machine-specific variables if exists
    
    Sponsored by:   Rubicon Communications, LLC (netgate.com)
---
 share/tools/dobuild_wrap.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/share/tools/dobuild_wrap.sh b/share/tools/dobuild_wrap.sh
index c62dfa7bfc..83d84ed37a 100755
--- a/share/tools/dobuild_wrap.sh
+++ b/share/tools/dobuild_wrap.sh
@@ -29,6 +29,10 @@
 # Wrapper around doc build.  Simplifies main build script.
 # NOTE: This script is not automatically updated on the builder.
 
+if [ -f "${PWD}/local.conf" ]; then
+	. ${PWD}/local.conf
+fi
+
 #
 # Default configuration.
 #
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.