From df8bb8ecf7de5d82d49818dd6e9ab5d79d4e7a79 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 16 Sep 2010 16:22:44 +0200 Subject: Also populating config tree automatically when calling other top-level commands apart from lb_build. --- scripts/build/lb_source | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'scripts/build/lb_source') diff --git a/scripts/build/lb_source b/scripts/build/lb_source index 00d2ce713..e790223f7 100755 --- a/scripts/build/lb_source +++ b/scripts/build/lb_source @@ -13,6 +13,13 @@ set -e # Including common functions . "${LB_BASE:-/usr/share/live/build}"/scripts/build.sh +# Automatically populating config tree +if [ -x auto/config ] && [ ! -e .stage/config ] +then + Echo_message "Automatically populating config tree." + lb config +fi + # Setting static variables DESCRIPTION="$(Echo 'build source images')" HELP="" -- cgit v1.2.3