]> code.delx.au - refind/blobdiff - install.sh
Tweaks for OS X 10.10 (Yosemite) and new support to enable and lock
[refind] / install.sh
index 67df9ee3e5c851ec6bfab490214ddcee0d73db1a..50748d3af88a9b75042a1094be21138548d4683b 100755 (executable)
@@ -765,7 +765,7 @@ FindMountedESP() {
    InstallDir=`echo $EspLine | cut -d " " -f 6`
 
    if [[ -n "$InstallDir" ]] ; then
-      EspFilesystem=`grep "$InstallDir" /etc/mtab | uniq | grep -v autofs | cut -d " " -f 3`
+      EspFilesystem=`grep -w "$InstallDir" /etc/mtab | uniq | grep -v autofs | cut -d " " -f 3`
    fi
    if [[ $EspFilesystem != 'vfat' ]] ; then
       FindLinuxESP