summaryrefslogtreecommitdiff
path: root/include/vendor.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-29 02:25:22 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-29 02:25:22 +0100
commit7a12cd770460068a721d08b0f22d436c02dc1e5c (patch)
treebb51d295ee8a11b9d1161d77a8cc36de36e44a9b /include/vendor.sh
parent163bcfcdfd74227386c79314625069a9285a0f1e (diff)
vendor.sh: simplify e6400 vga rom file check
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/vendor.sh')
-rwxr-xr-xinclude/vendor.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index ec194d53..0d38427a 100755
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -179,8 +179,7 @@ extract_e6400vga()
x_ cd "$appdir"
[ -f "bios.bin" ] || $err "extract_e6400vga: can't extract bios.bin"
"$e6400_unpack" bios.bin || printf "TODO: fix dell extract util\n"
- [ -f "$E6400_VGA_romname" ] || \
- $err "extract_e6400vga: can't extract vga rom from bios.bin"
+ e "$E6400_VGA_romname" f missing && $err "can't extract e6400 vga rom"
) || $err "can't extract e6400 vga rom"
cp "$appdir/$E6400_VGA_romname" "$_dest" || \
$err "extract_e6400vga $board: can't copy vga rom to $_dest"