Ignore:
Timestamp:
03/05/2012 05:23:09 PM (13 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs
Children:
18a2bea
Parents:
d120fec
Message:

Code to copy back the tarball to SRC_ARCHIVE and
to account for the possibility of new-line in md5sums strings
in scripts.xsl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/scripts.xsl

    rd120fec r6631b83  
    321321        <xsl:variable name="md5">
    322322          <xsl:choose>
    323             <xsl:when test="contains(string(),'&#xA;')">
     323            <xsl:when test="contains(substring-after(string(),'sum: '),'&#xA;')">
    324324              <xsl:value-of select="substring-before(substring-after(string(),'sum: '),'&#xA;')"/>
    325325            </xsl:when>
     
    398398        <xsl:variable name="md5">
    399399          <xsl:choose>
    400             <xsl:when test="contains(string(),'&#xA;')">
     400            <xsl:when test="contains(substring-after(string(),'sum: '),'&#xA;')">
    401401              <xsl:value-of select="substring-before(substring-after(string(),'sum: '),'&#xA;')"/>
    402402            </xsl:when>
Note: See TracChangeset for help on using the changeset viewer.