fix: don't double quote while hunting for OVMF. close #1181

This commit is contained in:
Martin Wimpress 2024-05-09 21:39:40 +01:00 committed by Martin Wimpress
parent 9b8ff34e81
commit 2fd37d0489
1 changed files with 2 additions and 1 deletions

View File

@ -419,7 +419,8 @@ function vm_boot() {
_IFS=$IFS _IFS=$IFS
IFS="," IFS=","
for f in "${ovmfs[@]}"; do for f in "${ovmfs[@]}"; do
set -- "${f}"; # shellcheck disable=SC2086
set -- ${f};
if [ -e "${1}" ]; then if [ -e "${1}" ]; then
EFI_CODE="${1}" EFI_CODE="${1}"
EFI_EXTRA_VARS="${2}" EFI_EXTRA_VARS="${2}"