diff options
author | Leah Rowe <leah@libreboot.org> | 2024-04-25 19:03:43 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-04-25 19:03:43 +0100 |
commit | f5f2c58a0e06d629b28e2dfb14c5dcf169626568 (patch) | |
tree | d094faa02bf1f6940db50c3165025eb63bb8938e /script/build | |
parent | 02e4c0b28e348face651b273fd39b32618ebf17f (diff) |
build/roms: add missing deletion of tmp file
the temporary rom per build was not being deleted after
finishing the current target. this adds up in /tmp during
large builds, when building for many targets. fix this!
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build')
-rwxr-xr-x | script/build/roms | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/build/roms b/script/build/roms index 2510b1fd..5fdc05c9 100755 --- a/script/build/roms +++ b/script/build/roms @@ -201,7 +201,8 @@ build_target_mainboard() [ "$displaymode" != "txtmode" ] && continue cbcfg="${targetdir}/config/${initmode}_${displaymode}" [ "${initmode}" = "normal" ] && cbcfg="${cbcfg%_*}" - build_roms "${cbcfg}" + build_roms "${cbcfg}" + x_ rm -f "$cbrom" done done } |