X-Git-Url: https://code.delx.au/refind/blobdiff_plain/da80923f62aa284dde891d0bff8c42cf791bd95c..b06865fd80f51e75b573269f6f987a845da4648f:/mvrefind.sh diff --git a/mvrefind.sh b/mvrefind.sh index 7c955bd..b1e14ec 100755 --- a/mvrefind.sh +++ b/mvrefind.sh @@ -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