lib.sh: rename variable for clarity

Signed-off-by: Leah Rowe <leah@libreboot.org>
20240612_branch
Leah Rowe 2024-06-07 12:50:16 +01:00
parent 7bfb1d621f
commit 137321ebc0
1 changed files with 3 additions and 3 deletions

View File

@ -220,8 +220,8 @@ e()
# e.g. coreboot is multi-tree, so 1 # e.g. coreboot is multi-tree, so 1
singletree() singletree()
{ {
for pdir in "config/${1}/"*/target.cfg; do for targetfile in "config/${1}/"*/target.cfg; do
[ ! -e "$pdir" ] && continue [ ! -e "$targetfile" ] && continue
[ -f "$pdir" ] && return 1 [ -f "$targetfile" ] && return 1
done done
} }