docbuild: source 'local.conf' if it exists
Sponsored by: Rubicon Communications, LLC (netgate.com)
This commit is contained in:
parent
3e766ab07c
commit
77c28ff525
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue