general code formatting cleanup in shell scripts

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-09-30 20:04:02 +01:00
parent 0a0defd325
commit 26fc3f1325
7 changed files with 38 additions and 69 deletions
+1 -5
View File
@@ -36,7 +36,6 @@ main()
purge_files
create_release_archive
printf "Source code archive available at %s.tar.xz\n\n" "${srcdir}"
}
@@ -116,9 +115,7 @@ copy_files()
purge_files()
{
(
cd "${srcdir}/" || \
err "purge_files 3: !cd ${srcdir}/"
cd "${srcdir}/" || err "purge_files 3: !cd ${srcdir}/"
[ ! -d "coreboot/default/util/kbc1126" ] || \
./handle make file -c "coreboot/default/util/kbc1126" || \
err "purge_files 1: default/util/kbc1126: ! make clean"
@@ -128,7 +125,6 @@ purge_files()
./handle make config -c "${p}" || \
err "purge_files: ${p}: cannot clean the source trees"
done
for p in bios_extract flashrom grub uefitool; do
./handle make file -c "${p}" || \
err "purge_files: !./handle make file -c ${p}"