summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-12-30 20:30:24 +0000
committerLeah Rowe <leah@libreboot.org>2023-12-30 20:30:24 +0000
commit5fb6e36f035c78b297a035574444d17c19578b35 (patch)
tree30787d986a73630b0fe591b9792a7976e729d40a
parent4c9ee172be1a836ebd31ed32e5f1f0bbb833b52c (diff)
update/trees: clean up the coreboot-version check
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xscript/update/trees5
1 files changed, 2 insertions, 3 deletions
diff --git a/script/update/trees b/script/update/trees
index 76cfa571..00ba83f1 100755
--- a/script/update/trees
+++ b/script/update/trees
@@ -210,9 +210,8 @@ run_make_command()
[ -z "$mode" ] && check_autoconf "$codedir"
check_makefile "$codedir" || return 1
- [ "$project" = "coreboot" ] && [ -z "$mode" ] && \
- x_ printf "%s\n" "${version%%-*}" \
- > "${codedir}/.coreboot-version"
+ [ "$project" = "coreboot" ] && [ -z "$mode" ] && x_ \
+ printf "%s\n" "${version%%-*}" > "$codedir/.coreboot-version"
make $mode -j$(nproc) $makeargs -C "$codedir" || \
err "run_make $codedir: !make $mode"