mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 23:08:49 +02:00
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>
This commit is contained in:
@@ -23,7 +23,6 @@ main()
|
|||||||
printf "Downloading %s and applying patches\n" ${project}
|
printf "Downloading %s and applying patches\n" ${project}
|
||||||
|
|
||||||
for x in ${targets}; do
|
for x in ${targets}; do
|
||||||
x_ rm -f "${cfgsdir}/"*/seen
|
|
||||||
download_for_target "${x}"
|
download_for_target "${x}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
@@ -55,6 +54,7 @@ download_for_target()
|
|||||||
|
|
||||||
fetch_config()
|
fetch_config()
|
||||||
{
|
{
|
||||||
|
x_ rm -f "${cfgsdir}/"*/seen
|
||||||
while true; do
|
while true; do
|
||||||
eval "$(setvars "" rev tree)"
|
eval "$(setvars "" rev tree)"
|
||||||
_xm="fetch_config ${project}/${_target}"
|
_xm="fetch_config ${project}/${_target}"
|
||||||
|
|||||||
Reference in New Issue
Block a user