X-Git-Url: https://code.delx.au/refind/blobdiff_plain/6f26706bb54004d3b435c51f44fa17e996d82c68..508d89056f8675d0d664493fc82a574119e6f60a:/mvrefind diff --git a/mvrefind b/mvrefind index 1bb5d45..4c2a66f 100755 --- a/mvrefind +++ b/mvrefind @@ -20,6 +20,7 @@ # # Revision history: # +# 0.10.2 -- Fixed bug in moving bootmgfw.efi in some situations # 0.10.1 -- Generalized to support ARM64 (aka AARCH64, aa64) # 0.10.0 -- Renamed from mvrefind.sh to mvrefind # 0.6.3 -- Initial release @@ -189,7 +190,7 @@ MoveFiles() { fi if [[ $EspTargetDir == "/efi/microsoft/boot" && -d $TargetDir ]] ; then - mv -n $EspTargetDir/bootmgfw.efi $InstallDir/EFI/Microsoft/ + mv -n $TargetDir/bootmgfw.efi $InstallDir/EFI/Microsoft/ fi mkdir -p $TargetDir @@ -242,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