From 5e3b3693ea5307f4019cd12e64a5835658e00e82 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Feb 2010 16:11:50 +0100 Subject: Automatically populating config tree when having auto/config present and lh build is called without having lh config run before. --- helpers/build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/helpers/build b/helpers/build index 835ad8e..52400fa 100755 --- a/helpers/build +++ b/helpers/build @@ -12,6 +12,13 @@ set -e # Including common functions . "${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 if [ "${1}" != "noautoconfig" ] && [ -x auto/build ] then -- cgit v1.0