summaryrefslogtreecommitdiff
path: root/include/mrc.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-04-11 17:15:00 +0100
committerLeah Rowe <leah@libreboot.org>2025-04-11 17:15:00 +0100
commitf98b9b0110770f5381055fbaa20610130131df62 (patch)
treefc1b671d5c30671b7390f5311f3160ae02efb9b0 /include/mrc.sh
parent8ccb61cc718fac3e4f62be772a3540b5aba2098c (diff)
clean up a few semicolons in the build system
several code lines were condensed together, which make them less readable. make the code more readable by having separate commands on separate lines. i previously did this during my manic build system audits of 2023 and 2024; condensing lines like this is overly pedantic and serves no real purpose. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/mrc.sh')
-rw-r--r--include/mrc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mrc.sh b/include/mrc.sh
index f5db2ff0..e08a0f0e 100644
--- a/include/mrc.sh
+++ b/include/mrc.sh
@@ -20,7 +20,7 @@ extract_mrc()
"$cbfstool" "$appdir/"bios.bin extract -n mrc.bin \
-f "$_dest" -r RO_SECTION || $err "extract_mrc: !$cbfstool $_dest"
- [ -n "$CONFIG_REFCODE_BLOB_FILE" ] && extract_refcode; return 0
+ [ -n "$CONFIG_REFCODE_BLOB_FILE" ] && extract_refcode; :
}
extract_partition()
@@ -57,5 +57,5 @@ extract_refcode()
# enable the Intel GbE device, if told by offset MRC_refcode_gbe
[ -z "$MRC_refcode_gbe" ] || dd if="config/ifd/hp820g2/1.bin" \
of="$_refdest" bs=1 seek=$MRC_refcode_gbe count=1 conv=notrunc || \
- $err "extract_refcode $_refdest: byte $MRC_refcode_gbe"; return 0
+ $err "extract_refcode $_refdest: byte $MRC_refcode_gbe"; :
}