mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-22 05:00:08 +02:00
update/project/trees: rm "seen" in the right place
it must be done *after* setting cfgsdir Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -15,15 +15,13 @@ eval "$(setvars "" _target tree rev project cfgsdir)"
|
|||||||
|
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
x_ rm -f "${cfgsdir}"/*/seen
|
printf "Downloading %s and applying patches\n" ${project}
|
||||||
|
|
||||||
printf "Downloading %s and (if available) applying patches\n" \
|
|
||||||
${project}
|
|
||||||
|
|
||||||
[ -z "${1}" ] && err "project name not specified"
|
[ -z "${1}" ] && err "project name not specified"
|
||||||
project="${1}"
|
project="${1}"
|
||||||
cfgsdir="config/${project}"
|
cfgsdir="config/${project}"
|
||||||
[ -d "${cfgsdir}" ] || err "unsupported project name"
|
[ -d "${cfgsdir}" ] || err "unsupported project name"
|
||||||
|
x_ rm -f "${cfgsdir}/"*/seen
|
||||||
shift 1
|
shift 1
|
||||||
|
|
||||||
targets=$(listitems "${cfgsdir}")
|
targets=$(listitems "${cfgsdir}")
|
||||||
|
|||||||
Reference in New Issue
Block a user