summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-07 12:50:16 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-07 12:50:16 +0100
commit137321ebc0be7f4f79c7c48ebd6d49f945067849 (patch)
tree6cb2cd220a830b51132f78e13eb5e17a0e6f346f
parent7bfb1d621fc63559dbe4cbe5e938836006d27f16 (diff)
lib.sh: rename variable for clarity
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xinclude/lib.sh6
1 files 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
}