diff options
author | Leah Rowe <leah@libreboot.org> | 2023-10-02 04:37:29 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-10-02 04:37:29 +0100 |
commit | 1dd97470e7b7ca6883268149b9a10b77258578b0 (patch) | |
tree | 6626475022e36bd3c7573f21c207c552a184bcff /script | |
parent | a3b3196d6c93fc0360eb8156318ed73bad56bdb6 (diff) |
update/project/trees: rm "seen" in the right place
it must be done *after* setting cfgsdir
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-x | script/update/project/trees | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/script/update/project/trees b/script/update/project/trees index d5d631b6..221c288f 100755 --- a/script/update/project/trees +++ b/script/update/project/trees @@ -15,15 +15,13 @@ eval "$(setvars "" _target tree rev project cfgsdir)" main() { - x_ rm -f "${cfgsdir}"/*/seen - - printf "Downloading %s and (if available) applying patches\n" \ - ${project} + printf "Downloading %s and applying patches\n" ${project} [ -z "${1}" ] && err "project name not specified" project="${1}" cfgsdir="config/${project}" [ -d "${cfgsdir}" ] || err "unsupported project name" + x_ rm -f "${cfgsdir}/"*/seen shift 1 targets=$(listitems "${cfgsdir}") |