Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/patcheslist.xsl

    r2a26a4f5 r7a8a136  
    1 <?xml version='1.0' encoding='UTF-8'?>
     1<?xml version='1.0' encoding='ISO-8859-1'?>
    22<!DOCTYPE xsl:stylesheet [
    33 <!ENTITY % general-entities SYSTEM "../general.ent">
     
    2323}
    2424
    25 umask 002
     25umask 002 &#x0a;&#x0a;</xsl:text>
    2626
    27 # Create dest.dir if it doesn't exist
    28 # Remove old patches
    29 # Copy the patches
    30 # Ensure correct ownership
    31 install -d -m 775 -g lfswww </xsl:text>
     27      <!-- Create dest.dir if it don't exist -->
     28    <xsl:text>install -d -m 775 -g lfswww </xsl:text>
    3229    <xsl:value-of select="$dest.dir"/>
    33     <xsl:text> &amp;&amp;
    34 cd </xsl:text>
     30    <xsl:text> &amp;&amp;&#x0a;</xsl:text>
     31    <xsl:text>cd </xsl:text>
    3532    <xsl:value-of select="$dest.dir"/>
    36     <xsl:text> &amp;&amp;
    37 rm -f *.patch copyerrs &amp;&amp;
    38 
    39 </xsl:text>
     33    <xsl:text> &amp;&amp;&#x0a;&#x0a;</xsl:text>
     34      <!-- Remove old patches -->
     35    <xsl:text>rm -f *.patch copyerrs &amp;&amp; &#x0a;&#x0a;</xsl:text>
    4036    <xsl:apply-templates/>
     37      <!-- Ensure correct owneship -->
     38    <xsl:text>&#x0a;chgrp lfswww *.patch &amp;&amp;&#x0a;</xsl:text>
    4139    <xsl:text>
    42 chgrp lfswww *.patch &amp;&amp;
    4340if [ `wc -l copyerrs | sed 's/ *//' | cut -f1 -d' '` -gt 0 ]; then
    4441  mail -s "Missing LFS patches" lfs-book@lists.linuxfromscratch.org &lt; copyerrs
    45 fi
     42fi&#x0a;&#x0a;</xsl:text>
    4643
    47 exit
    48 </xsl:text>
     44    <xsl:text>exit&#x0a;</xsl:text>
    4945  </xsl:template>
    5046
     
    6460      </xsl:variable>
    6561      <xsl:text>copy /srv/www/www.linuxfromscratch.org/patches/downloads/</xsl:text>
    66       <xsl:value-of select="substring-before($patch.name2, '-0')"/>
     62          <xsl:value-of select="substring-before($patch.name2, '-0')"/>
    6763      <xsl:text>/</xsl:text>
    6864      <xsl:value-of select="$patch.name"/>
    69       <xsl:text> .
    70 </xsl:text>
     65      <xsl:text> . &#x0a;</xsl:text>
    7166    </xsl:if>
    7267  </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.