summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-29 22:34:34 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-29 22:34:34 +0100
commit6519cea9cff998d3484cbbbb3fbbedb886b93dfd (patch)
treee67b0f654b3be5adfb756e061d9d55d226fec567 /script
parentac05e5ff17ad8a493de2866b50b269d088c35c33 (diff)
include/blobutil: simplify check_defconfig()
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/update/blobs/inject3
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