On 3 November 2016 at 11:03, Rod Smith <rodsm...@rodsbooks.com> wrote:
> Good question. I guess it depends on what efibootmgr wants, since that's
> where the variable is used. The efibootmgr man page implies it wants a
> number, so I've committed another change -- applying both 2a6f68 and
> bdf9ca from my git repository should do it:

Am I looking at the correct change?

-            PartNum=${InstallPart#$InstallDisk}
+            PartNum=`echo "${InstallPart#$InstallDisk}"`

I'm not clear on how that's going to remove the "p" (or do anything at
all, actually).

Something like this is more what I expected:

             PartNum=${InstallPart#$InstallDisk}
+            PartNum=${InstallPart#p}

(which should remove a "p" prefix if it exists)

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4

Reply via email to