On Tue, Mar 22, 2011 at 11:46 AM, Brian C. Lane <span dir="ltr"><<a href="mailto:bcl@redhat.com">bcl@redhat.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Tue, Mar 22, 2011 at 11:09:01AM -0400, Frederick Grose wrote:<br>
> Sorry,<br>
><br>
> The followup patch,<br>
> <a href="https://bugzilla.redhat.com/attachment.cgi?id=486551" target="_blank">https://bugzilla.redhat.com/attachment.cgi?id=486551</a><br>
> is needed.<br>
><br>
<br>
!= instead of ==, right?<br>
<br>
But that means SYSLINUXPATH will always be ""<br>
<br>
That doesn't make sense to me, it will break multi support.<br>
<br>
Brian<br></blockquote><div><br><font style="font-family: courier new,monospace;" face="courier new,monospace"> check=($(syslinux --version 2>&1)) || :<br> if [[ 'syslinux' != $check ]]; then<br> SYSLINUXPATH=""<br>
elif [ -n "$multi" ]; then<br> SYSLINUXPATH="$LIVEOS/syslinux"<br> else<br> SYSLINUXPATH="syslinux"<br> fi<br><br><br>The check variable will contain the array returned by<br>
<br>syslinux --version<br><br><br>if the first member is NOT 'syslinux', then<br><br> the program failed to run, and (for some use case I'm not familiar with)<br><br> the files have been directed to ""<br>
<br></font><span style="font-family: courier new,monospace;">else (if syslinux --version did return 'syslinux') check for the multi flag, </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">else default to the syslinux directory.</span><br>
<br> --Fred<br><br><br><br><br></div></div>