mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 00:03:45 +02:00
lib.sh: simplify singletree()
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-2
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user