Automatically populating config tree when having auto/config present and lh build is called without having lh config run before.

This commit is contained in:
Daniel Baumann 2010-02-17 16:11:50 +01:00
parent 67af4a1ce9
commit 5e3b3693ea
1 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,13 @@ set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
# Automatically populating config tree
if [ -x auto/config ] && [ ! -e .stage/config ]
then
Echo_message "Automatically populating config tree."
lh config
fi
# Read meta config # Read meta config
if [ "${1}" != "noautoconfig" ] && [ -x auto/build ] if [ "${1}" != "noautoconfig" ] && [ -x auto/build ]
then then