]> code.delx.au - refind/blobdiff - mvrefind
Fixed bug that caused mvrefind to fail to move bootmgfw.efi in some
[refind] / mvrefind
index 1bb5d45a6e104a080cb4b8a8878e62be9c9a56c6..0c0bf1523d47e641090730b53b4bf0027e10620b 100755 (executable)
--- 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