summaryrefslogtreecommitdiff
path: root/script/update/trees
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-12-24 06:32:19 +0000
committerLeah Rowe <leah@libreboot.org>2023-12-24 06:32:19 +0000
commitb4ab30577ffd2c3b5908b8d599091982acce8f9c (patch)
tree993089a01d8c0e0cc556c0c27fbb94c48c1efeee /script/update/trees
parent38a7aa3196e25627df2d9e089b00421b9194f7b6 (diff)
lbmk scripts: general code cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update/trees')
-rwxr-xr-xscript/update/trees5
1 files changed, 3 insertions, 2 deletions
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}"