Avoid re-populating an already populated configuration tree when using lb config --config.
This commit is contained in:
parent
3f19c0c357
commit
0fa1427801
|
@ -872,6 +872,16 @@ then
|
|||
_CONFIG=""
|
||||
fi
|
||||
|
||||
if [ -e .build/config ] && [ -n "${_CONFIG}" ]
|
||||
then
|
||||
if [ "${1}" != "noauto" ]
|
||||
then
|
||||
Echo_message "Ignoring --config ${_CONFIG}: ${PWD} is already a live-build configuration tree"
|
||||
fi
|
||||
|
||||
_CONFIG=""
|
||||
fi
|
||||
|
||||
if [ -n "${_CONFIG}" ]
|
||||
then
|
||||
if [ -e "${_CONFIG}" ] || [ -e "/usr/share/live/images/${_CONFIG}" ]
|
||||
|
|
Loading…
Reference in New Issue