Changeset 968e958


Ignore:
Timestamp:
03/03/2012 08:14:40 PM (12 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs
Children:
d120fec
Parents:
fd988ce
Message:

Update second place where MD5 sums occur in BLFS/xsl/scripts.xsl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/scripts.xsl

    rfd988ce r968e958  
    395395      </xsl:when>
    396396      <xsl:when test="contains(string(),'MD5')">
     397<!-- some md5 sums are written with a LF -->
     398        <xsl:variable name="md5">
     399          <xsl:choose>
     400            <xsl:when test="contains(string(),'&#xA;')">
     401              <xsl:value-of select="substring-before(substring-after(string(),'sum: '),'&#xA;')"/>
     402            </xsl:when>
     403            <xsl:otherwise>
     404              <xsl:value-of select="substring-after(string(),'sum: ')"/>
     405            </xsl:otherwise>
     406          </xsl:choose>
     407        </xsl:variable>
    397408        <xsl:text>echo "</xsl:text>
    398         <xsl:value-of select="substring-after(string(),'sum: ')"/>
     409        <xsl:value-of select="$md5"/>
    399410        <xsl:text>&#x20;&#x20;$PACKAGE1" | md5sum -c -&#xA;</xsl:text>
    400411      </xsl:when>
Note: See TracChangeset for help on using the changeset viewer.