vendor.sh: further simplify config handling

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2024-05-18 19:51:40 +01:00
parent 8418ea9ab2
commit 5b5dccd630
2 changed files with 2 additions and 4 deletions
+1
View File
@@ -121,6 +121,7 @@ EOF
check_defconfig()
{
[ -d "$1" ] || $err "Target '$1' not defined."
for x in "${1}"/config/*; do
[ -f "${x}" ] && printf "%s\n" "$x" && return 1
done