diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-06-05 16:52:39 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-06-05 16:52:39 +0000 |
commit | b5aa3c265214ba873c9f42eae96ca19ed9044a28 (patch) | |
tree | 58d90dc2265f196e3f5c6f7a0765901de10c432b /stylesheets | |
parent | 1d6c0297ae32be4bf3f25add0092ea6ff27badaa (diff) |
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
Diffstat (limited to 'stylesheets')
-rw-r--r-- | stylesheets/patcheslist.xsl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stylesheets/patcheslist.xsl b/stylesheets/patcheslist.xsl index a8a485478..9945dee24 100644 --- a/stylesheets/patcheslist.xsl +++ b/stylesheets/patcheslist.xsl @@ -8,7 +8,7 @@ <xsl:output method="text"/> <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:text>#! /bin/bash @@ -27,13 +27,13 @@ <xsl:template match="//ulink"> <xsl:if test="contains(@url, '.patch') and contains(@url, 'linuxfromscratch')"> - <xsl:text> ln -s </xsl:text> - <xsl:value-of select="$deep.to.dowloads"/> - <xsl:text>dowloads/</xsl:text> + <xsl:text> cp </xsl:text> + <xsl:value-of select="$deep.to.downloads"/> + <xsl:text>downloads/</xsl:text> <xsl:value-of select="substring-before (substring-after(@url, $links.directory), '-')"/> <xsl:text>/</xsl:text> <xsl:value-of select="substring-after(@url, $links.directory)"/> - <xsl:text> &&
</xsl:text> + <xsl:text> . &&
</xsl:text> </xsl:if> </xsl:template> |