diff options
author | Leah Rowe <leah@libreboot.org> | 2023-09-29 22:34:34 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-09-29 22:34:34 +0100 |
commit | 6519cea9cff998d3484cbbbb3fbbedb886b93dfd (patch) | |
tree | e67b0f654b3be5adfb756e061d9d55d226fec567 /script/update/blobs/inject | |
parent | ac05e5ff17ad8a493de2866b50b269d088c35c33 (diff) |
include/blobutil: simplify check_defconfig()
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update/blobs/inject')
-rwxr-xr-x | script/update/blobs/inject | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/update/blobs/inject b/script/update/blobs/inject index 51198c27..01d4cfd6 100755 --- a/script/update/blobs/inject +++ b/script/update/blobs/inject @@ -171,7 +171,8 @@ patch_rom() [ -f "${rom%_nomicrocode.rom}.rom" ] && \ [ "${release_archive}" = "y" ] && return 0 - check_defconfig "${boarddir}" || exit 1 + check_defconfig "${boarddir}" || err "patch_rom ${rom}: no defconfig" + set -- "${boarddir}/config/"* . "${1}" 2>/dev/null |