summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-01-15 20:51:30 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:40 +0100
commit67518ecdab12551895d309fa7990ce9be4eb792b (patch)
tree2b2674d94c415958e99fc5de03c22fa3c072fb11
parent03cfa3a0642426ad8044cc77768ab1b1190ededc (diff)
downloadlive-build-67518ecdab12551895d309fa7990ce9be4eb792b.zip
live-build-67518ecdab12551895d309fa7990ce9be4eb792b.tar.gz
Parsing lh_config flags from config.cfg, if available.
-rwxr-xr-xhelpers/lh_config7
1 files changed, 6 insertions, 1 deletions
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