]> code.delx.au - refind/commitdiff
Fixed OS X install.sh bugs relating to pre-mounted ESP with space in
authorsrs5694 <srs5694@users.sourceforge.net>
Mon, 2 Feb 2015 17:49:23 +0000 (12:49 -0500)
committersrs5694 <srs5694@users.sourceforge.net>
Mon, 2 Feb 2015 17:49:23 +0000 (12:49 -0500)
path and disks with partition numbers above 10.

NEWS.txt
docs/refind/todo.html
install.sh

index f596f8ff702b76f2c113a66a86968d480bd0c9d2..f356e9abb883732f5151415ce47b328438b4d5dc 100644 (file)
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -1,3 +1,13 @@
+0.8.6 (?/??/2016):
+------------------
+
+- Fixed install.sh bug that caused misidentification of installation
+  directory under OS X if an already-mounted ESP has spaces in its path.
+
+- Fixed install.sh bug that could cause misidentification of the ESP on
+  disks with partition numbers of 10 or above.
+
+
 0.8.5 (2/1/2015):
 -----------------
 
index 8838baedda4c6575a8e3eb597640075f2db3919c..33f56136d963cc4858dd517a734e5427037678c4 100644 (file)
@@ -336,6 +336,10 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
        detected boot programs and create a set of manual boot stanzas for
        them, so that they can be modified manually.</li>
 
+    <li>Support for touchscreens and/or configurable buttons for rEFInd's
+       actions would enable use of rEFInd on tablet computers that lack
+       complete keyboards.</li>
+
     <li>GRUB provides a configuration-file command called <tt>outb</tt>
        that enables manipulating hardware registers. Something similar,
        via the <tt>mm</tt> command, can be done in the EFI shell. I'd like
index 437fa3c48c626a3b02b6ba9a873379fcd6cc1103..a95d30ee9d6c0a32872512542985f21a89f5b029 100755 (executable)
@@ -35,6 +35,9 @@
 #
 # Revision history:
 #
+# 0.8.6   -- Fixed bugs that caused misidentification of ESP on disks with
+#            partition numbers over 10 on OS X and misidentification of mount
+#            point if already-mounted ESP had space in path.
 # 0.8.5   -- Refinement/cleanup of new OS X ESP-as-default policy
 # 0.8.4   -- OS X default changed to install to ESP under /EFI/BOOT
 # 0.7.9   -- Fixed bug that caused errors if dmraid utility not installed
@@ -599,8 +602,8 @@ MountOSXESP() {
    fi
    Esp=/dev/`echo $Temp`
    # If the ESP is mounted, use its current mount point....
-   Temp=`df -P | grep "$Esp"`
-   InstallDir=`echo $Temp | cut -f 6 -d ' '`
+   Temp=`df -P | grep "$Esp "`
+   InstallDir=`echo $Temp | cut -f 6- -d ' '`
    if [[ "$InstallDir" == '' ]] ; then
       mkdir /Volumes/ESP &> /dev/null
       mount -t msdos "$Esp" /Volumes/ESP