lib.sh: fix regression

i was being a bit too clever about some optimisations

revert this change. otherwise, nothing will download
or build

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2-merge1
Leah Rowe 2024-06-09 15:23:50 +01:00 committed by Leah Rowe
parent 8b1a54d19e
commit e51eae0d25
1 changed files with 2 additions and 1 deletions

View File

@ -223,7 +223,8 @@ e()
singletree()
{
for targetfile in "config/${1}/"*/target.cfg; do
[ -e "$targetfile" ] && [ -f "$targetfile" ] && return 1
[ -e "$targetfile" ] || continue
[ -f "$targetfile" ] && return 1
done
}