update/project/trees: handle seen in fetch_config

I'm planning to re-use this function later, in other
files, to unify handling of target.cfg files.

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-10-07 06:23:22 +01:00
parent c8bace0d84
commit a413c01a3e
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,6 @@ main()
printf "Downloading %s and applying patches\n" ${project}
for x in ${targets}; do
x_ rm -f "${cfgsdir}/"*/seen
download_for_target "${x}"
done
}
@ -55,6 +54,7 @@ download_for_target()
fetch_config()
{
x_ rm -f "${cfgsdir}/"*/seen
while true; do
eval "$(setvars "" rev tree)"
_xm="fetch_config ${project}/${_target}"