mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
lib.sh: condense singletree() a bit
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-3
@@ -183,9 +183,8 @@ rmgit()
|
|||||||
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; return 0
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
download()
|
download()
|
||||||
|
|||||||
Reference in New Issue
Block a user