aboutsummaryrefslogtreecommitdiff
path: root/share/tools/dobuild_wrap.sh
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2020-12-31 04:24:38 +0000
committerGlen Barber <gjb@FreeBSD.org>2020-12-31 04:24:38 +0000
commitd89f64cb54d74aad3117c7b38229568e1ef2bde6 (patch)
tree4861aa0cb13d3540fe77296f441ec91ef82a9ed2 /share/tools/dobuild_wrap.sh
parent7ea567bbfa1e72c22e7d5b6c510e77412b414f35 (diff)
downloaddoc-d89f64cb54d74aad3117c7b38229568e1ef2bde6.tar.gz
doc-d89f64cb54d74aad3117c7b38229568e1ef2bde6.zip
docbuild: source 'local.conf' for machine-specific variables if exists
Sponsored by: Rubicon Communications, LLC (netgate.com)
Diffstat (limited to 'share/tools/dobuild_wrap.sh')
-rwxr-xr-xshare/tools/dobuild_wrap.sh4
1 files changed, 4 insertions, 0 deletions
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.
#