summaryrefslogtreecommitdiff
path: root/include/mrc.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-29 19:41:34 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-29 20:29:13 +0100
commit2b7ae8e204d06c91876351968939a6c187bfd239 (patch)
tree1a8de0c735e33c4678fda9ba5e6dbc1fe52ad064 /include/mrc.sh
parent8ea62a16618ae66f062ff263288343b6ac3f8690 (diff)
blob scripts: unified handling of blob destination
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/mrc.sh')
-rwxr-xr-xinclude/mrc.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/mrc.sh b/include/mrc.sh
index b9345b92..21ce5f01 100755
--- a/include/mrc.sh
+++ b/include/mrc.sh
@@ -12,8 +12,6 @@ extract_mrc()
_file="${MRC_url##*/}"
_file="${_file%.zip}"
- _mrc_destination="${CONFIG_MRC_FILE#../../}"
- mkdirs "${_mrc_destination}" "extract_mrc" || return 0
(
cd "${appdir}" || err "extract_mrc: !cd ${appdir}"
@@ -23,7 +21,7 @@ extract_mrc()
)
"${cbfstool}" "${appdir}/"coreboot-*.bin extract -n mrc.bin \
- -f "${_mrc_destination}" -r RO_SECTION || \
+ -f "${_dest}" -r RO_SECTION || \
err "extract_mrc: could not fetch mrc.bin"
}