diff --git a/scripts/Arch/Config/SecureBoot/main.fish b/scripts/Arch/Config/SecureBoot/main.fish index 9dfc6636..6a076974 100755 --- a/scripts/Arch/Config/SecureBoot/main.fish +++ b/scripts/Arch/Config/SecureBoot/main.fish @@ -19,11 +19,11 @@ begin sudo sed -i \ -e "/esp=/{" \ - -e "a esp=\"$efiDir\"" \ + -e "a esp=$(echo "$efiDir" | string escape)" \ -e "d" \ -e "}" \ -e "/bootloader_id=/{" \ - -e "a bootloader_id=\"$label\"" \ + -e "a bootloader_id=$(echo "$label" | string escape)" \ -e "d" \ -e "}" \ /etc/secureboot.conf