lib.sh: rename variable for clarity

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2-merge1
Leah Rowe 2024-06-07 12:50:16 +01:00 committed by Leah Rowe
parent 8d5edd4f06
commit 860deb3e7e
1 changed files with 3 additions and 3 deletions

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
}