lib.sh: rename variable for clarity

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2024-06-07 12:50:16 +01:00
parent 7bfb1d621f
commit 137321ebc0
+3 -3
View File
@@ -220,8 +220,8 @@ e()
# e.g. coreboot is multi-tree, so 1
singletree()
{
for pdir in "config/${1}/"*/target.cfg; do
[ ! -e "$pdir" ] && continue
[ -f "$pdir" ] && return 1
for targetfile in "config/${1}/"*/target.cfg; do
[ ! -e "$targetfile" ] && continue
[ -f "$targetfile" ] && return 1
done
}