Code to copy back the tarball to SRC_ARCHIVE and
to account for the possibility of new-line in md5sums strings in scripts.xsl
This commit is contained in:
parent
d120fec35b
commit
6631b83ab8
1 changed files with 2 additions and 2 deletions
|
@ -320,7 +320,7 @@ fi
|
|||
<!-- some md5 sums are written with a LF -->
|
||||
<xsl:variable name="md5">
|
||||
<xsl:choose>
|
||||
<xsl:when test="contains(string(),'
')">
|
||||
<xsl:when test="contains(substring-after(string(),'sum: '),'
')">
|
||||
<xsl:value-of select="substring-before(substring-after(string(),'sum: '),'
')"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
|
@ -397,7 +397,7 @@ fi
|
|||
<!-- some md5 sums are written with a LF -->
|
||||
<xsl:variable name="md5">
|
||||
<xsl:choose>
|
||||
<xsl:when test="contains(string(),'
')">
|
||||
<xsl:when test="contains(substring-after(string(),'sum: '),'
')">
|
||||
<xsl:value-of select="substring-before(substring-after(string(),'sum: '),'
')"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
|
|
Reference in a new issue