build/release/src: 79 chars or less per code line

Signed-off-by: Leah Rowe <leah@libreboot.org>
fsdg20230625
Leah Rowe 2023-05-20 19:03:04 +01:00
parent 1cdf1c7cf0
commit fff5fa53ff
1 changed files with 10 additions and 5 deletions

View File

@ -22,9 +22,15 @@
set -u -e set -u -e
projectname="$(cat projectname)" projectname="$(cat projectname)"
modlist="coreboot flashrom grub memtest86plus seabios me_cleaner u-boot bios_extract"
dirlist="resources util" # do not add blobs directory here. it is handled below modlist="coreboot flashrom grub memtest86plus seabios me_cleaner u-boot"
filelist="blobutil modify download build README.md COPYING Makefile update version versiondate projectname .gitcheck gitclone" modlist="${modlist} bios_extract"
dirlist="resources util" # do not add blobs directory here. it's handled below
filelist="blobutil modify download build README.md COPYING Makefile update"
filelist="${filelist} version versiondate projectname .gitcheck gitclone"
version="version-unknown" version="version-unknown"
versiondate="version-date-unknown" versiondate="version-date-unknown"
reldir="" reldir=""
@ -86,9 +92,8 @@ copy_files()
for i in ${filelist}; do for i in ${filelist}; do
if [ ! -f "${i}" ]; then if [ ! -f "${i}" ]; then
printf "build/release/src: ERROR: file '%s' does not exist.\n" "${i}"
rm -Rf "${srcdir}" rm -Rf "${srcdir}"
exit 1 err "file '${1}' does not exist"
fi fi
cp ${i} "${srcdir}/" cp ${i} "${srcdir}/"
done done