diff --git a/build-uki.sh b/build-uki.sh index bfdec7a..7ee2398 100755 --- a/build-uki.sh +++ b/build-uki.sh @@ -22,7 +22,7 @@ $sudo objcopy \ $sudo sbsign --key /etc/secureboot/full/db.key --cert /etc/secureboot/full/db.crt --output $path_to_uki $path_to_uki # if needed, copy UKI to EFI default boot path -if [[ -v $set_efi_default_image ]] && [[ $set_efi_default_image = "yes" ]]; then +if [[ -v set_efi_default_image ]] && [[ $set_efi_default_image = "yes" ]]; then $sudo cp $path_to_uki /efi/EFI/BOOT/BOOTX64.EFI fi