summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-07 06:23:22 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-07 06:23:22 +0100
commita413c01a3ef90f7befc5805b233b67b9352ee727 (patch)
tree2abd421bd991f41ec30fe422ff617a0007d4d1fe /script
parentc8bace0d84ac0b4df2e04f5f7a4ecba56f8d505d (diff)
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>
Diffstat (limited to 'script')
-rwxr-xr-xscript/update/project/trees2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/update/project/trees b/script/update/project/trees
index f38101c6..bb67734a 100755
--- a/script/update/project/trees
+++ b/script/update/project/trees
@@ -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}"