update/project/trees: rm "seen" in the right place
it must be done *after* setting cfgsdir Signed-off-by: Leah Rowe <leah@libreboot.org>btrfsvols
parent
a3b3196d6c
commit
1dd97470e7
|
@ -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}")
|
||||||
|
|
Loading…
Reference in New Issue