summaryrefslogtreecommitdiff
path: root/script/update/blobs/inject
diff options
context:
space:
mode:
Diffstat (limited to 'script/update/blobs/inject')
-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