mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-09-20 05:30:25 +02:00
rom.sh: remove redundant check
if_build / empty mode are a given here, since this is a premake function which only executes if the mode string is empty and/or if_build is empty Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ corebootpremake()
|
|||||||
printf "%s\n" "${version%%-*}" > "$srcdir/.coreboot-version" || \
|
printf "%s\n" "${version%%-*}" > "$srcdir/.coreboot-version" || \
|
||||||
err "!mk $srcdir .coreboot-version" "corebootpremake" "$@"
|
err "!mk $srcdir .coreboot-version" "corebootpremake" "$@"
|
||||||
|
|
||||||
[ -z "$mode" ] && [ "$target" != "$tree" ] && \
|
[ "$target" != "$tree" ] && \
|
||||||
x_ "$mk" download "$target"; :
|
x_ "$mk" download "$target"; :
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user