cvs commit: LFS/BOOK/stylesheets patcheslist.xsl

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sat Jun 5 09:52:39 PDT 2004


manuel      04/06/05 10:52:39

  Modified:    BOOK/stylesheets patcheslist.xsl
  Log:
  Changed patcheslist.xsl to copy the patches instead of linking.
  
  Revision  Changes    Path
  1.7       +5 -5      LFS/BOOK/stylesheets/patcheslist.xsl
  
  Index: patcheslist.xsl
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/stylesheets/patcheslist.xsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- patcheslist.xsl	31 May 2004 20:47:27 -0000	1.6
  +++ patcheslist.xsl	5 Jun 2004 16:52:39 -0000	1.7
  @@ -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> &&&#x0a;</xsl:text>
  +      <xsl:text> . &&&#x0a;</xsl:text>
       </xsl:if>
     </xsl:template>
   
  
  
  



More information about the lfs-book mailing list