lib.sh: simplify singletree()
Signed-off-by: Leah Rowe <leah@libreboot.org>audit2-merge1
parent
90a8ef90b0
commit
e8b1d45631
|
@ -223,8 +223,7 @@ e()
|
||||||
singletree()
|
singletree()
|
||||||
{
|
{
|
||||||
for targetfile in "config/${1}/"*/target.cfg; do
|
for targetfile in "config/${1}/"*/target.cfg; do
|
||||||
[ ! -e "$targetfile" ] && continue
|
[ -e "$targetfile" ] && [ -f "$targetfile" ] && return 1
|
||||||
[ -f "$targetfile" ] && return 1
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue