From 137321ebc0be7f4f79c7c48ebd6d49f945067849 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 7 Jun 2024 12:50:16 +0100 Subject: lib.sh: rename variable for clarity Signed-off-by: Leah Rowe --- include/lib.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/lib.sh b/include/lib.sh index 4ae4ad5b..39d3bc99 100755 --- a/include/lib.sh +++ b/include/lib.sh @@ -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 } -- cgit v1.2.1