git.sh: also reset xtree/tree_depend here
it's still necessary here, to prevent the same bug identified in the previous patch. Signed-off-by: Leah Rowe <leah@libreboot.org>audit2-merge1
parent
f1549872b8
commit
8d83340da4
|
@ -30,6 +30,7 @@ fetch_from_upstream()
|
|||
fetch_config()
|
||||
{
|
||||
rm -f "${cfgsdir}/"*/seen || err "fetch_config ${cfgsdir}: !rm seen"
|
||||
eval "$(setvars "" xtree tree_depend)"
|
||||
while true; do
|
||||
eval "$(setvars "" rev tree)"
|
||||
_xm="fetch_config ${project}/${_target}"
|
||||
|
@ -63,6 +64,8 @@ prepare_new_tree()
|
|||
|
||||
fetch_project_repo()
|
||||
{
|
||||
eval "$(setvars "" xtree tree_depend)"
|
||||
|
||||
scan_config "${project}" "config/git" "err"
|
||||
[ -z "${loc+x}" ] && err "fetch_project_repo $project: loc not set"
|
||||
[ -z "${url+x}" ] && err "fetch_project_repo $project: url not set"
|
||||
|
|
Loading…
Reference in New Issue