Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2021 18:51:11 GMT
From:      Glen Barber <gjb@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: 77c28ff525 - main - docbuild: source 'local.conf' if it exists
Message-ID:  <202101041851.104IpB79027105@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gjb:

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

commit 77c28ff5251dded5a6861b341742f9ed78b29277
Author:     Glen Barber <gjb@FreeBSD.org>
AuthorDate: 2021-01-04 18:50:48 +0000
Commit:     Glen Barber <gjb@FreeBSD.org>
CommitDate: 2021-01-04 18:50:48 +0000

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

diff --git a/share/tools/dobuild.sh b/share/tools/dobuild.sh
index b83e00f0d1..c5752a3340 100755
--- a/share/tools/dobuild.sh
+++ b/share/tools/dobuild.sh
@@ -39,6 +39,10 @@
 # WARNING!  This script depend on dobuild_wrap.sh setting the
 # configuration variables in the enviroment.
 #
+if [ -f "${PWD}/local.conf" ]; then
+	. ${PWD}/local.conf
+fi
+
 if [ -z "${DOBUILDWRAP}" ]; then
 	echo "Error: This script should only be called from dobuild_wrap.sh!"
 	exit 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101041851.104IpB79027105>