BuildSystem: Check value of BANAN_UEFI_BOOT with if ((...)); then

This commit is contained in:
2023-11-21 11:53:50 +02:00
parent f2a6f213dd
commit d08e876319
2 changed files with 4 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ if [[ -z $OVMF_PATH ]]; then
OVMF_PATH="/usr/share/ovmf/x64/OVMF.fd"
fi
if [[ "$BANAN_UEFI_BOOT" == "1" ]]; then
if (($BANAN_UEFI_BOOT)); then
BIOS_ARGS="-bios $OVMF_PATH -net none"
fi