Changeset 764a5d7 for LFS/lfs.xsl


Ignore:
Timestamp:
01/14/2018 08:19:14 PM (6 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
2140f22
Parents:
84a3fda
Message:

Do not add >> $TESTLOG to lines ending with "\"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/lfs.xsl

    r84a3fda r764a5d7  
    967967              <xsl:otherwise>
    968968                <xsl:value-of select="$instructions"/>
    969                 <xsl:if test="not(contains($instructions, '&gt;&gt;'))">
     969                <xsl:if
     970                  test="not(contains($instructions, '&gt;&gt;')) and
     971                        substring($instructions,
     972                                  string-length($instructions)) != '\'">
    970973                  <xsl:text> &gt;&gt; $TEST_LOG 2&gt;&amp;1</xsl:text>
    971974                </xsl:if>
     
    983986              <xsl:otherwise>
    984987                <xsl:value-of select="$instructions"/>
    985                 <xsl:if test="not(contains($instructions, '&gt;&gt;'))">
     988                <xsl:if test="not(contains($instructions, '&gt;&gt;')) and
     989                        substring($instructions,
     990                                  string-length($instructions)) != '\'">
    986991                  <xsl:text> &gt;&gt; $TEST_LOG 2&gt;&amp;1</xsl:text>
    987992                </xsl:if>
Note: See TracChangeset for help on using the changeset viewer.