diff options
author | Leah Rowe <leah@libreboot.org> | 2023-12-22 09:46:43 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-12-22 10:24:00 +0000 |
commit | ab65ea4c99af4f5569496c58b604ada612a2469a (patch) | |
tree | 6feb004f23060a471653ad6d1820de6eea91d878 /script/update | |
parent | fa25414bab5ca9e487bd265f0709e90e41769c69 (diff) |
general code cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update')
-rwxr-xr-x | script/update/release | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/script/update/release b/script/update/release index b762b89d..14878569 100755 --- a/script/update/release +++ b/script/update/release @@ -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 |