mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-07 13:00:00 +01:00
Changed patcheslist.xsl to copy the patches instead of linking.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3754 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
1d6c0297ae
commit
b5aa3c2652
@ -8,7 +8,7 @@
|
|||||||
<xsl:output method="text"/>
|
<xsl:output method="text"/>
|
||||||
|
|
||||||
<xsl:param name="links.directory">lfs/cvs/unstable/</xsl:param>
|
<xsl:param name="links.directory">lfs/cvs/unstable/</xsl:param>
|
||||||
<xsl:param name="deep.to.dowloads">../../../</xsl:param>
|
<xsl:param name="deep.to.downloads">../../../</xsl:param>
|
||||||
|
|
||||||
<xsl:template match="/">
|
<xsl:template match="/">
|
||||||
<xsl:text>#! /bin/bash
|
<xsl:text>#! /bin/bash
|
||||||
@ -27,13 +27,13 @@
|
|||||||
|
|
||||||
<xsl:template match="//ulink">
|
<xsl:template match="//ulink">
|
||||||
<xsl:if test="contains(@url, '.patch') and contains(@url, 'linuxfromscratch')">
|
<xsl:if test="contains(@url, '.patch') and contains(@url, 'linuxfromscratch')">
|
||||||
<xsl:text> ln -s </xsl:text>
|
<xsl:text> cp </xsl:text>
|
||||||
<xsl:value-of select="$deep.to.dowloads"/>
|
<xsl:value-of select="$deep.to.downloads"/>
|
||||||
<xsl:text>dowloads/</xsl:text>
|
<xsl:text>downloads/</xsl:text>
|
||||||
<xsl:value-of select="substring-before (substring-after(@url, $links.directory), '-')"/>
|
<xsl:value-of select="substring-before (substring-after(@url, $links.directory), '-')"/>
|
||||||
<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>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user