Changes in stylesheets/patcheslist.xsl [2a26a4f5:7a8a136]
- 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'?> 2 2 <!DOCTYPE xsl:stylesheet [ 3 3 <!ENTITY % general-entities SYSTEM "../general.ent"> … … 23 23 } 24 24 25 umask 002 25 umask 002 

</xsl:text> 26 26 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> 32 29 <xsl:value-of select="$dest.dir"/> 33 <xsl:text> && 34 cd </xsl:text>30 <xsl:text> &&
</xsl:text> 31 <xsl:text>cd </xsl:text> 35 32 <xsl:value-of select="$dest.dir"/> 36 <xsl:text> && 37 rm -f *.patch copyerrs && 38 39 </xsl:text> 33 <xsl:text> &&

</xsl:text> 34 <!-- Remove old patches --> 35 <xsl:text>rm -f *.patch copyerrs && 

</xsl:text> 40 36 <xsl:apply-templates/> 37 <!-- Ensure correct owneship --> 38 <xsl:text>
chgrp lfswww *.patch &&
</xsl:text> 41 39 <xsl:text> 42 chgrp lfswww *.patch &&43 40 if [ `wc -l copyerrs | sed 's/ *//' | cut -f1 -d' '` -gt 0 ]; then 44 41 mail -s "Missing LFS patches" lfs-book@lists.linuxfromscratch.org < copyerrs 45 fi 42 fi

</xsl:text> 46 43 47 exit 48 </xsl:text> 44 <xsl:text>exit
</xsl:text> 49 45 </xsl:template> 50 46 … … 64 60 </xsl:variable> 65 61 <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')"/> 67 63 <xsl:text>/</xsl:text> 68 64 <xsl:value-of select="$patch.name"/> 69 <xsl:text> . 70 </xsl:text> 65 <xsl:text> . 
</xsl:text> 71 66 </xsl:if> 72 67 </xsl:template>
Note:
See TracChangeset
for help on using the changeset viewer.