On 11/03/2016 02:16 PM, Tianon Gravi wrote: > 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)
Oops; I cut-and-pasted the wrong stuff from my test script to the refind-install script. I've added another commit -- e7e393 -- so that's three commits in total.... -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com