From a48c974c9ca35c0ded39df3ab6ac91c415d08f13 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 30 Jul 2012 01:16:29 +0200 Subject: Avoid showing message in lb config running the second time through auto on git repository based config trees. --- scripts/build/lb_config | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/build') diff --git a/scripts/build/lb_config b/scripts/build/lb_config index 325c8836b..91ec2f158 100755 --- a/scripts/build/lb_config +++ b/scripts/build/lb_config @@ -866,7 +866,11 @@ Local_arguments "${@}" if [ -e .git ] && [ -n "${_CONFIG}" ] then - Echo_message "Ignoring --config ${_CONFIG}: ${PWD} is already a git repository" + if [ "${1}" != "noauto" ] + then + Echo_message "Ignoring --config ${_CONFIG}: ${PWD} is already a git repository" + fi + _CONFIG="" fi -- cgit v1.2.3