update/trees: clean up the coreboot-version check

Signed-off-by: Leah Rowe <leah@libreboot.org>
9020vga
Leah Rowe 2023-12-30 20:30:24 +00:00
parent 4c9ee172be
commit 5fb6e36f03
1 changed files with 2 additions and 3 deletions

View File

@ -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"