diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-09-17 10:55:19 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-09-17 10:55:19 +0100 |
| commit | f59e5d8e2b0339811c4242aa1e1ae8db8bcc8dfd (patch) | |
| tree | 4586c821c60cbcd1c80f3aab0526ea89a25c6fb4 /include/fw | |
| parent | 4530c6f2e3cb54b522e588cb001782c855f44205 (diff) | |
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>
Diffstat (limited to 'include/fw')
| -rw-r--r-- | include/fw/rom.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fw/rom.sh b/include/fw/rom.sh index 7292336a..1dd41e8d 100644 --- a/include/fw/rom.sh +++ b/include/fw/rom.sh @@ -64,7 +64,7 @@ corebootpremake() printf "%s\n" "${version%%-*}" > "$srcdir/.coreboot-version" || \ err "!mk $srcdir .coreboot-version" "corebootpremake" "$@" - [ -z "$mode" ] && [ "$target" != "$tree" ] && \ + [ "$target" != "$tree" ] && \ x_ "$mk" download "$target"; : } |
