From b4ab30577ffd2c3b5908b8d599091982acce8f9c Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 24 Dec 2023 06:32:19 +0000 Subject: lbmk scripts: general code cleanup Signed-off-by: Leah Rowe --- script/update/trees | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'script/update/trees') diff --git a/script/update/trees b/script/update/trees index 08a86f61..70fa208e 100755 --- a/script/update/trees +++ b/script/update/trees @@ -153,7 +153,7 @@ handle_src_tree() if [ ! -d "${codedir}" ]; then if [ "${mode}" = "distclean" ] || \ [ "${mode}" = "crossgcc-clean" ]; then - printf "Directory %s doesn't exist; skipping clean\n" \ + printf "Directory %s missing; skipping clean\n" \ "${codedir}" 1>&2 return 1 fi @@ -233,7 +233,8 @@ run_make_command() [ -f "${codedir}/Makefile" ] || [ -f "${codedir}/makefile" ] || \ [ -f "${codedir}/GNUmakefile" ] || return 1 [ "${project}" = "coreboot" ] && [ -z "${mode}" ] && \ - x_ printf "%s\n" "${version%%-*}" >"$codedir/.coreboot-version" + x_ printf "%s\n" "${version%%-*}" \ + > "${codedir}/.coreboot-version" x_ make ${mode} -j$(nproc) -C "${codedir}" -- cgit v1.2.1