summaryrefslogtreecommitdiff
path: root/script/build
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-09 00:02:00 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-09 00:02:00 +0100
commit0e3f3efcaac4a202ab8e7027263c94d48236f0e4 (patch)
treef9234a8c80a9eddb4182855b2e954cb08ee1db86 /script/build
parenta69e8548b360e288b3e534cfbc201a5fb410e885 (diff)
build/boot/roms: delete tmpcfg when done
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build')
-rwxr-xr-xscript/build/boot/roms_helper1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/build/boot/roms_helper b/script/build/boot/roms_helper
index 4057b889..bd25e3ed 100755
--- a/script/build/boot/roms_helper
+++ b/script/build/boot/roms_helper
@@ -383,6 +383,7 @@ build_grub_roms() {
[ -z "${grub_timeout}" ] || \
"${cbfstool}" "${tmprompath}" add -f "${tmpcfg}" -n timeout.cfg \
-t raw || err "mkGrubROM: cannot insert timeout.cfg into CBFS"
+ rm -f "${tmpcfg}" || err "cannot delete tmpcfg"
keymaps=""
if [ -z ${keyboard_layouts} ]; then