X-Git-Url: https://code.delx.au/refind/blobdiff_plain/0a82bafff0b372b220e4d67b67c677ac067d1c82..508d89056f8675d0d664493fc82a574119e6f60a:/mvrefind diff --git a/mvrefind b/mvrefind index 0c0bf15..4c2a66f 100755 --- a/mvrefind +++ b/mvrefind @@ -243,7 +243,7 @@ AddNvramEntry() { fi if [[ $InstallIt == "1" ]] ; then - if [[ $EfiTargetDir == "/efi/microsoft/boot" ]] ; then + if [[ $EspTargetDir == "/efi/microsoft/boot" ]] ; then # Name it the way some firmware expects -- see http://mjg59.dreamwidth.org/20187.html $Efibootmgr -c -l $EfiEntryFilename -L "Windows Boot Manager" -d $InstallDisk -p $PartNum &> /dev/null else