r2024 - jhalfs/trunk

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Wed Sep 28 10:18:07 PDT 2005


Author: manuel
Date: 2005-09-28 11:18:06 -0600 (Wed, 28 Sep 2005)
New Revision: 2024

Modified:
   jhalfs/trunk/dump-commands.xsl
Log:
Fixed the creation of "cat ... EOF" blocks.

Modified: jhalfs/trunk/dump-commands.xsl
===================================================================
--- jhalfs/trunk/dump-commands.xsl	2005-09-27 22:33:06 UTC (rev 2023)
+++ jhalfs/trunk/dump-commands.xsl	2005-09-28 17:18:06 UTC (rev 2024)
@@ -53,7 +53,8 @@
         <xsl:when test="@role = 'nodump'"/>
         <xsl:otherwise>
           <xsl:apply-templates select="userinput"/>
-          <xsl:if test="position() != last()">
+          <xsl:if test="position() != last() and
+              not(contains(string(),'EOF'))">
             <xsl:text> &&</xsl:text>
           </xsl:if>
           <xsl:text>&#xA;</xsl:text>




More information about the alfs-log mailing list