Parsing lh_config flags from config.cfg, if available.

This commit is contained in:
Daniel Baumann 2009-01-15 20:51:30 +01:00
parent 03cfa3a064
commit 67518ecdab
1 changed files with 6 additions and 1 deletions

View File

@ -714,7 +714,12 @@ fi
# Reading existing configuration # Reading existing configuration
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
Local_arguments "${@}" if [ -e config.cfg ]
then
Local_arguments $(cat config.cfg) "${@}"
else
Local_arguments "${@}"
fi
if [ -n "${_CONFFILE}" ] if [ -n "${_CONFFILE}" ]
then then