From 73cb8e9f6766f860d50839997ad4d25397bea4c6 Mon Sep 17 00:00:00 2001 From: "pico.dev" Date: Thu, 4 Apr 2024 22:57:42 +0200 Subject: [PATCH] Fix shellcheck (2) --- alis-commons.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alis-commons.sh b/alis-commons.sh index 2bef20b9..a6940db8 100755 --- a/alis-commons.sh +++ b/alis-commons.sh @@ -423,7 +423,7 @@ function partition_options() { PARTITION_OPTIONS_BOOT="defaults" PARTITION_OPTIONS="defaults" - if [ BIOS_TYPE == "uefi" ]; then + if [ "$$BIOS_TYPE" == "uefi" ]; then PARTITION_OPTIONS_BOOT="$PARTITION_OPTIONS_BOOT,uid=0,gid=0,fmask=0077,dmask=0077" fi if [ "$DEVICE_TRIM" == "true" ]; then