Changeset 968e958 for BLFS/xsl/scripts.xsl
- Timestamp:
- 03/03/2012 08:14:40 PM (13 years ago)
- Branches:
- ablfs
- Children:
- d120fec
- Parents:
- fd988ce
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/xsl/scripts.xsl
rfd988ce r968e958 395 395 </xsl:when> 396 396 <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(),'
')"> 401 <xsl:value-of select="substring-before(substring-after(string(),'sum: '),'
')"/> 402 </xsl:when> 403 <xsl:otherwise> 404 <xsl:value-of select="substring-after(string(),'sum: ')"/> 405 </xsl:otherwise> 406 </xsl:choose> 407 </xsl:variable> 397 408 <xsl:text>echo "</xsl:text> 398 <xsl:value-of select=" substring-after(string(),'sum: ')"/>409 <xsl:value-of select="$md5"/> 399 410 <xsl:text>  $PACKAGE1" | md5sum -c -
</xsl:text> 400 411 </xsl:when>
Note:
See TracChangeset
for help on using the changeset viewer.