summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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
}