aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2021-01-04 18:50:48 +0000
committerGlen Barber <gjb@FreeBSD.org>2021-01-04 18:50:48 +0000
commit77c28ff5251dded5a6861b341742f9ed78b29277 (patch)
tree108508ee1bb9bbe8f2dceafd631fc71119539a08 /share
parent3e766ab07cfba284d32fb482a981a31b15b6f21e (diff)
downloaddoc-77c28ff5251dded5a6861b341742f9ed78b29277.tar.gz
doc-77c28ff5251dded5a6861b341742f9ed78b29277.zip
docbuild: source 'local.conf' if it exists
Sponsored by: Rubicon Communications, LLC (netgate.com)
Diffstat (limited to 'share')
-rwxr-xr-xshare/tools/dobuild.sh4
1 files changed, 4 insertions, 0 deletions
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