general code cleanup

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-12-22 09:46:43 +00:00
parent fa25414bab
commit ab65ea4c99
6 changed files with 15 additions and 18 deletions
+2 -3
View File
@@ -179,7 +179,7 @@ handle_rom_archive()
insert_version_files "${romdir}" || \
err "mkrom_tarball ${romdir}: versionfile"
insert_copying_files "${romdir}" || err "!insert copy, handle 2, ${romdir}"
insert_copying_files "$romdir" || err "!insert copy, handle 2, $romdir"
mkrom_tarball
}
@@ -233,8 +233,7 @@ strip_ucode()
insert_copying_files()
{
rm -Rf "${1}/licenses" || return 1
mkdir -p "${1}/licenses" || return 1
remkdir "${1}/licenses"
l="${1}/licenses"
# copy licenses to rom image archive, for completion
cp "src/grub/COPYING" "${l}/COPYING.grub" || return 1