From 5fb6e36f035c78b297a035574444d17c19578b35 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 30 Dec 2023 20:30:24 +0000 Subject: update/trees: clean up the coreboot-version check Signed-off-by: Leah Rowe --- script/update/trees | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'script') 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" -- cgit v1.2.1