Update second place where MD5 sums occur in BLFS/xsl/scripts.xsl
This commit is contained in:
parent
fd988ce1ca
commit
968e95875f
1 changed files with 12 additions and 1 deletions
|
@ -394,8 +394,19 @@ fi
|
|||
</xsl:if>
|
||||
</xsl:when>
|
||||
<xsl:when test="contains(string(),'MD5')">
|
||||
<xsl:text>echo "</xsl:text>
|
||||
<!-- some md5 sums are written with a LF -->
|
||||
<xsl:variable name="md5">
|
||||
<xsl:choose>
|
||||
<xsl:when test="contains(string(),'
')">
|
||||
<xsl:value-of select="substring-before(substring-after(string(),'sum: '),'
')"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="substring-after(string(),'sum: ')"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
<xsl:text>echo "</xsl:text>
|
||||
<xsl:value-of select="$md5"/>
|
||||
<xsl:text>  $PACKAGE1" | md5sum -c -
</xsl:text>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
|
|
Reference in a new issue