summaryrefslogtreecommitdiff
path: root/script/update/release
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-12-22 09:46:43 +0000
committerLeah Rowe <leah@libreboot.org>2023-12-22 10:24:00 +0000
commitab65ea4c99af4f5569496c58b604ada612a2469a (patch)
tree6feb004f23060a471653ad6d1820de6eea91d878 /script/update/release
parentfa25414bab5ca9e487bd265f0709e90e41769c69 (diff)
general code cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update/release')
-rwxr-xr-xscript/update/release5
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