summaryrefslogtreecommitdiff
path: root/scripts/build/lb_config
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/lb_config')
-rwxr-xr-xscripts/build/lb_config6
1 files changed, 5 insertions, 1 deletions
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