From a413c01a3ef90f7befc5805b233b67b9352ee727 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 7 Oct 2023 06:23:22 +0100 Subject: 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 --- script/update/project/trees | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script') 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}" -- cgit v1.2.1