Changeset 68713c9 for HLFS/hlfs.xsl


Ignore:
Timestamp:
08/17/2007 04:24:47 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
e5842d6
Parents:
3abe9d7
Message:

Dump build time using Bash $SECONDS internal variable instead of using date calls + Perl-based calculations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • HLFS/hlfs.xsl

    r3abe9d7 r68713c9  
    112112          </xsl:if>
    113113          <!-- SVN toolchain format, from inside ./sources dir unpack binutils and gcc -->
    114           <xsl:if test="@id='ch-tools-embryo-toolchain' or
     114          <xsl:if test="@id='ch-tools-embryo-toolchain' or
    115115                        @id='ch-tools-cocoon-toolchain' or
    116116                        @id='ch-system-butterfly-toolchain'">
     
    118118             <xsl:text>tar -xvf binutils-&binutils-version;.*; &#xA;</xsl:text>
    119119          </xsl:if>
    120           <xsl:if test="@id='ch-tools-cocoon-toolchain' or
     120          <xsl:if test="@id='ch-tools-cocoon-toolchain' or
    121121                        @id='ch-system-butterfly-toolchain'">
    122122             <xsl:text>tar -xvf gcc-g++-&gcc-version;.*; &#xA;</xsl:text>
     
    129129        </xsl:if>
    130130        <xsl:apply-templates select=".//para/userinput | .//screen"/>
     131        <xsl:if test="not(@id='ch-system-chroot') and
     132                      not(@id='ch-system-revisedchroot')">
     133          <xsl:text>echo -e "\n\nTotalseconds: $SECONDS\n"&#xA;</xsl:text>
     134        </xsl:if>
    131135        <xsl:text>exit</xsl:text>
    132136      </exsl:document>
Note: See TracChangeset for help on using the changeset viewer.