mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-09 13:59:51 +01:00
Adapted patcheslist.xsl to the new naming of patches.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3767 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
1582636bcd
commit
67c9eebe54
@ -30,7 +30,17 @@
|
|||||||
<xsl:text> cp </xsl:text>
|
<xsl:text> cp </xsl:text>
|
||||||
<xsl:value-of select="$deep.to.downloads"/>
|
<xsl:value-of select="$deep.to.downloads"/>
|
||||||
<xsl:text>downloads/</xsl:text>
|
<xsl:text>downloads/</xsl:text>
|
||||||
<xsl:value-of select="substring-before (substring-after(@url, $links.directory), '-')"/>
|
<xsl:if test="contains (@url, '-')">
|
||||||
|
<xsl:variable name="cut" select="translate (@url, '0123456789', '2222222222')"/>
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="contains ($cut, ',')">
|
||||||
|
<xsl:value-of select="substring-before (substring-after($cut, $links.directory), ',2')"/>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:value-of select="substring-before (substring-after($cut, $links.directory), '-2')"/>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:if>
|
||||||
<xsl:text>/</xsl:text>
|
<xsl:text>/</xsl:text>
|
||||||
<xsl:value-of select="substring-after(@url, $links.directory)"/>
|
<xsl:value-of select="substring-after(@url, $links.directory)"/>
|
||||||
<xsl:text> . &&
</xsl:text>
|
<xsl:text> . &&
</xsl:text>
|
||||||
|
Loading…
Reference in New Issue
Block a user