]> code.delx.au - refind/blobdiff - mvrefind.sh
Added OS check to mkrlconf.sh. Bypass checks for BIOS-mode boot
[refind] / mvrefind.sh
index 7c955bdb008858ef7136820b2800fc26857f8fd6..b1e14ec840a641464f99c10b71e2e639a7662fa2 100755 (executable)
@@ -24,8 +24,8 @@ SourceIA32="refind_ia32.efi"
 TargetIA32=$SourceIA32
 SourceShim="shim.efi"
 TargetShim=$SourceShim
-SourceDir=${1}
-TargetDir=${2}
+SourceDir=`readlink -f ${1}`
+TargetDir=`readlink -f ${2}`
 
 # Identifies the ESP's location (/boot or /boot/efi); aborts if the ESP isn't
 # mounted at either location. Also splits the ESP location from SourceDir and