Ignore:
Timestamp:
10/05/2005 08:27:04 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
0a9117e
Parents:
7871325
Message:

Changed the output format of "cat ... EOF" blocks to allow ampersands.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dump-lfs-scripts.xsl

    r7871325 r6ec43e3  
    9292        <xsl:text>make -k check</xsl:text>
    9393      </xsl:when>
     94      <xsl:when test="contains(string(),'EOF')">
     95        <xsl:variable name="content">
     96          <xsl:apply-templates/>
     97        </xsl:variable>
     98        <xsl:value-of select="substring-before(string($content), 'cat &gt;')"/>
     99        <xsl:text>&#xA;(&#xA;cat &lt;&lt; EOF</xsl:text>
     100        <xsl:value-of select="substring-after(string($content), '&quot;EOF&quot;')"/>
     101        <xsl:text>&#xA;) &gt;</xsl:text>
     102        <xsl:value-of select="substring-after((substring-before(string($content), '&lt;&lt;')), 'cat &gt;')"/>
     103      </xsl:when>
    94104      <xsl:otherwise>
    95105        <xsl:apply-templates/>
    96106      </xsl:otherwise>
    97107    </xsl:choose>
    98     <xsl:if test="not(contains(string(),'EOF')) and
    99             not(contains(string(),'check')) and
     108    <xsl:if test="not(contains(string(),'check')) and
    100109            not(contains(string(),'strip '))">
    101110      <xsl:text> &amp;&amp;</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.