From 163bcfcdfd74227386c79314625069a9285a0f1e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 29 Jun 2024 02:23:02 +0100 Subject: vendor.sh: simplify variable checks for e6400vga Signed-off-by: Leah Rowe --- include/vendor.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') 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" -- cgit v1.2.1