From 28cd477e7edf84936bfe7670ff4a7c052df35b9a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 28 Jul 2012 20:37:19 +0200 Subject: Showing a message about ignoring --config when the current directory already is a git repository. --- scripts/build/lb_config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/build/lb_config b/scripts/build/lb_config index b3524e5ea..dbc7d8a71 100755 --- a/scripts/build/lb_config +++ b/scripts/build/lb_config @@ -870,8 +870,9 @@ Local_arguments () Local_arguments "${@}" -if [ -e .git ] +if [ -e .git ] && [ -n "${_CONFIG}" ] then + Echo_message "Ignoring --config ${_CONFIG}: ${PWD} is already a git repository" _CONFIG="" fi -- cgit v1.2.3