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>
20240612_branch
Leah Rowe 2024-06-09 15:23:50 +01:00
parent fbcdf33f93
commit 86eb566b13
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
}