From 67518ecdab12551895d309fa7990ce9be4eb792b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 15 Jan 2009 20:51:30 +0100 Subject: Parsing lh_config flags from config.cfg, if available. --- helpers/lh_config | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/helpers/lh_config b/helpers/lh_config index c56f453..2c20d30 100755 --- a/helpers/lh_config +++ b/helpers/lh_config @@ -714,7 +714,12 @@ fi # Reading existing configuration 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}" ] then -- cgit v1.0