diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-27 11:57:13 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-27 11:57:13 +0100 |
commit | aacd46bf812369710a0080b7e51f1a1c7d1ce9ee (patch) | |
tree | e4a05c126b812dc782e29a3684fcea988808692b /include/rom.sh | |
parent | dbf0fda39a78504e76d24e907db130b542cb286a (diff) |
xbmk: simplify a few err calls
many of the messages are redundant, because errors caused
by the commands they handle would produce similar messages.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/rom.sh')
-rw-r--r-- | include/rom.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/rom.sh b/include/rom.sh index 1eb199cd..972f264e 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -48,8 +48,7 @@ corebootpremake() [ -n "$mode" ] || [ ! -f "$srcdir/.config" ] || $dry printf \ "CONFIG_CCACHE=y\n" >> "$srcdir/.config" || err "$srcdir: !cook"; : fx_ check_coreboot_util printf "cbfstool\nifdtool\n" - printf "%s\n" "${version%%-*}" > "$srcdir/.coreboot-version" || \ - err "!mk $srcdir .coreboot-version" + printf "%s\n" "${version%%-*}" > "$srcdir/.coreboot-version" || err [ -z "$mode" ] && [ "$target" != "$tree" ] && \ x_ ./mk download "$target"; : } |