Do not add >> $TESTLOG to lines ending with "\"
This commit is contained in:
parent
84a3fda1c3
commit
764a5d712c
1 changed files with 7 additions and 2 deletions
|
@ -966,7 +966,10 @@ DNS=</xsl:text>
|
|||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="$instructions"/>
|
||||
<xsl:if test="not(contains($instructions, '>>'))">
|
||||
<xsl:if
|
||||
test="not(contains($instructions, '>>')) and
|
||||
substring($instructions,
|
||||
string-length($instructions)) != '\'">
|
||||
<xsl:text> >> $TEST_LOG 2>&1</xsl:text>
|
||||
</xsl:if>
|
||||
<xsl:text>
</xsl:text>
|
||||
|
@ -982,7 +985,9 @@ DNS=</xsl:text>
|
|||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="$instructions"/>
|
||||
<xsl:if test="not(contains($instructions, '>>'))">
|
||||
<xsl:if test="not(contains($instructions, '>>')) and
|
||||
substring($instructions,
|
||||
string-length($instructions)) != '\'">
|
||||
<xsl:text> >> $TEST_LOG 2>&1</xsl:text>
|
||||
</xsl:if>
|
||||
<xsl:text>
</xsl:text>
|
||||
|
|
Reference in a new issue