diff options
| author | Leah Rowe <leah@libreboot.org> | 2024-06-16 17:50:42 +0100 | 
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2024-06-16 17:50:42 +0100 | 
| commit | bc853fbb89a55257632ea287f4d8d3b9a114c608 (patch) | |
| tree | e11ffe7f816b6983d1e9b5fcf03d243348add5fa | |
| parent | 12b26f207fe343ffe7077398abc75f09b83c7506 (diff) | |
roms build_uboot_roms(): move rom, don't copy
that way, we don't have to delete the temporary file.
just move it entirely.
Signed-off-by: Leah Rowe <leah@libreboot.org>
| -rwxr-xr-x | script/roms | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/script/roms b/script/roms index fd294e06..6c998067 100755 --- a/script/roms +++ b/script/roms @@ -293,8 +293,7 @@ build_uboot_roms()  	newrom="$romdir/uboot_payload_${board}_${initmode}_$displaymode.rom"  	x_ cp "$cbrom" "$tmprom"  	cbfs "$tmprom" "$ubootelf" "fallback/payload" -	x_ cprom cp "$tmprom" "$newrom" -	x_ rm -f "$tmprom" +	x_ cprom mv "$tmprom" "$newrom"  }  cprom() | 
