Avoid showing message in lb config running the second time through auto on git repository based config trees.

This commit is contained in:
Daniel Baumann 2012-07-30 01:16:29 +02:00
parent da30397e4b
commit a48c974c9c
1 changed files with 5 additions and 1 deletions

View File

@ -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