diff options
Diffstat (limited to 'include/lib.sh')
-rwxr-xr-x | include/lib.sh | 6 |
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 } |