vendor.sh extract_kbc1126: use quote on file check

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit6
Leah Rowe 2024-06-29 03:09:03 +01:00
parent ddcc74777e
commit 42925ce79f
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ extract_kbc1126ec()
(
x_ cd "$appdir/"
mv Rompaq/68*.BIN ec.bin || :
if [ ! -f ec.bin ]; then
if [ ! -f "ec.bin" ]; then
unar -D ROM.CAB Rom.bin || unar -D Rom.CAB Rom.bin || \
unar -D 68*.CAB Rom.bin || $err "can't extract Rom.bin"
x_ mv Rom.bin ec.bin