summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build/lb_config3
1 files changed, 2 insertions, 1 deletions
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