r3442 - jhalfs/trunk/BLFS/libs

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Fri Aug 10 14:06:15 PDT 2007


Author: manuel
Date: 2007-08-10 15:06:15 -0600 (Fri, 10 Aug 2007)
New Revision: 3442

Modified:
   jhalfs/trunk/BLFS/libs/scripts.xsl
Log:
BLFS: Wrap root commads into single quotes instead of double quotes. This avoid to conflict with doble quotes used in the book to create here documents.

Modified: jhalfs/trunk/BLFS/libs/scripts.xsl
===================================================================
--- jhalfs/trunk/BLFS/libs/scripts.xsl	2007-08-08 17:29:33 UTC (rev 3441)
+++ jhalfs/trunk/BLFS/libs/scripts.xsl	2007-08-10 21:06:15 UTC (rev 3442)
@@ -447,11 +447,11 @@
   <xsl:template match="screen">
     <xsl:if test="child::* = userinput and not(@role = 'nodump')">
       <xsl:if test="@role = 'root' and $sudo = 'y'">
-        <xsl:text>sudo sh -c "</xsl:text>
+        <xsl:text>sudo sh -c '</xsl:text>
       </xsl:if>
       <xsl:apply-templates select="userinput"/>
       <xsl:if test="@role = 'root' and $sudo = 'y'">
-        <xsl:text>"</xsl:text>
+        <xsl:text>'</xsl:text>
       </xsl:if>
       <xsl:text>&#xA;</xsl:text>
     </xsl:if>




More information about the alfs-log mailing list