Changeset 7c6c355 for BLFS


Ignore:
Timestamp:
08/10/2007 09:06:15 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
9695fa7
Parents:
d09e32a
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/libs/scripts.xsl

    rd09e32a r7c6c355  
    448448    <xsl:if test="child::* = userinput and not(@role = 'nodump')">
    449449      <xsl:if test="@role = 'root' and $sudo = 'y'">
    450         <xsl:text>sudo sh -c "</xsl:text>
     450        <xsl:text>sudo sh -c '</xsl:text>
    451451      </xsl:if>
    452452      <xsl:apply-templates select="userinput"/>
    453453      <xsl:if test="@role = 'root' and $sudo = 'y'">
    454         <xsl:text>"</xsl:text>
     454        <xsl:text>'</xsl:text>
    455455      </xsl:if>
    456456      <xsl:text>&#xA;</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.