vendor.sh: simplify variable checks for e6400vga

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit6
Leah Rowe 2024-06-29 02:23:02 +01:00
parent cbac2087cc
commit 163bcfcdfd
1 changed files with 1 additions and 3 deletions

View File

@ -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"