diff options
author | Leah Rowe <leah@libreboot.org> | 2023-09-29 19:41:34 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-09-29 20:29:13 +0100 |
commit | 2b7ae8e204d06c91876351968939a6c187bfd239 (patch) | |
tree | 1a8de0c735e33c4678fda9ba5e6dbc1fe52ad064 /include/mrc.sh | |
parent | 8ea62a16618ae66f062ff263288343b6ac3f8690 (diff) |
blob scripts: unified handling of blob destination
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/mrc.sh')
-rwxr-xr-x | include/mrc.sh | 4 |
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" } |