On Tue, Mar 22, 2011 at 11:46 AM, Brian C. Lane <span dir="ltr">&lt;<a href="mailto:bcl@redhat.com">bcl@redhat.com</a>&gt;</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>
&gt; Sorry,<br>
&gt;<br>
&gt; The followup patch,<br>
&gt; <a href="https://bugzilla.redhat.com/attachment.cgi?id=486551" target="_blank">https://bugzilla.redhat.com/attachment.cgi?id=486551</a><br>
&gt; is needed.<br>
&gt;<br>
<br>
!= instead of ==, right?<br>
<br>
But that means SYSLINUXPATH will always be &quot;&quot;<br>
<br>
That doesn&#39;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&gt;&amp;1)) || :<br>    if [[ &#39;syslinux&#39; != $check ]]; then<br>        SYSLINUXPATH=&quot;&quot;<br>

    elif [ -n &quot;$multi&quot; ]; then<br>        SYSLINUXPATH=&quot;$LIVEOS/syslinux&quot;<br>    else<br>        SYSLINUXPATH=&quot;syslinux&quot;<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 &#39;syslinux&#39;, then<br><br>   the program failed to run, and (for some use case I&#39;m not familiar with)<br><br>   the files have been directed to &quot;&quot;<br>

<br></font><span style="font-family: courier new,monospace;">else (if syslinux --version did return &#39;syslinux&#39;) 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>