From fff5fa53ff3402821c954f764b44550ef59e374b Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 20 May 2023 19:03:04 +0100 Subject: build/release/src: 79 chars or less per code line Signed-off-by: Leah Rowe --- resources/scripts/build/release/src | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'resources/scripts/build/release') diff --git a/resources/scripts/build/release/src b/resources/scripts/build/release/src index 42870d79..09a9810e 100755 --- a/resources/scripts/build/release/src +++ b/resources/scripts/build/release/src @@ -22,9 +22,15 @@ set -u -e 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 -filelist="blobutil modify download build README.md COPYING Makefile update version versiondate projectname .gitcheck gitclone" + +modlist="coreboot flashrom grub memtest86plus seabios me_cleaner u-boot" +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" versiondate="version-date-unknown" reldir="" @@ -86,9 +92,8 @@ copy_files() for i in ${filelist}; do if [ ! -f "${i}" ]; then - printf "build/release/src: ERROR: file '%s' does not exist.\n" "${i}" rm -Rf "${srcdir}" - exit 1 + err "file '${1}' does not exist" fi cp ${i} "${srcdir}/" done -- cgit v1.2.1