summaryrefslogtreecommitdiff
path: root/include/mrc.sh
diff options
context:
space:
mode:
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"
}