diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-29 02:23:02 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-29 02:23:02 +0100 |
commit | 163bcfcdfd74227386c79314625069a9285a0f1e (patch) | |
tree | b9e0e805e04dac56cdc5c8425ec78479d1ffd81b | |
parent | cbac2087cc5f167d8f290ea107dbfc488930cd06 (diff) |
vendor.sh: simplify variable checks for e6400vga
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | include/vendor.sh | 4 |
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" |