summaryrefslogtreecommitdiff
path: root/include/vendor.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-29 02:23:02 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-29 02:23:02 +0100
commit163bcfcdfd74227386c79314625069a9285a0f1e (patch)
treeb9e0e805e04dac56cdc5c8425ec78479d1ffd81b /include/vendor.sh
parentcbac2087cc5f167d8f290ea107dbfc488930cd06 (diff)
vendor.sh: simplify variable checks for e6400vga
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/vendor.sh')
-rwxr-xr-xinclude/vendor.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index 9aebcb64..ec194d53 100755
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -173,9 +173,7 @@ extract_kbc1126ec()
extract_e6400vga()
{
set +u +e
- for v in E6400_VGA_offset E6400_VGA_romname; do
- eval "[ -z \"\$$v\" ] && $err \"e6400vga: $v undefined\""
- done
+ chkvars E6400_VGA_offset E6400_VGA_romname
tail -c +$E6400_VGA_offset "$_dl" | gunzip > "$appdir/bios.bin" || :
(
x_ cd "$appdir"