update/trees: clean up the coreboot-version check
Signed-off-by: Leah Rowe <leah@libreboot.org>9020vga
parent
4c9ee172be
commit
5fb6e36f03
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue