Author: pierre
Date: Sun Jan 14 12:19:14 2018
New Revision: 4029
Log:
Do not add >> $TESTLOG to lines ending with "\"
Modified:
jhalfs/trunk/LFS/lfs.xsl
Modified: jhalfs/trunk/LFS/lfs.xsl
==============================================================================
--- jhalfs/trunk/LFS/lfs.xsl Sun Jan 14 02:26:43 2018 (r4028)
+++ jhalfs/trunk/LFS/lfs.xsl Sun Jan 14 12:19:14 2018 (r4029)
@@ -966,7 +966,10 @@
</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 @@
</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>
--
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page