Changes in stylesheets/patcheslist.xsl [d4b5218:2a26a4f5]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/patcheslist.xsl
rd4b5218 r2a26a4f5 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 <!DOCTYPE xsl:stylesheet [ 3 3 <!ENTITY % general-entities SYSTEM "../general.ent"> … … 23 23 } 24 24 25 umask 002 

</xsl:text>25 umask 002 26 26 27 <!-- Create dest.dir if it don't exist --> 28 <xsl:text>install -d -m 775 -g lfswww </xsl:text> 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> 29 32 <xsl:value-of select="$dest.dir"/> 30 <xsl:text> && 
</xsl:text>31 <xsl:text>cd </xsl:text>33 <xsl:text> && 34 cd </xsl:text> 32 35 <xsl:value-of select="$dest.dir"/> 33 <xsl:text> &&

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

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

</xsl:text>45 fi 43 46 44 <xsl:text>exit
</xsl:text> 47 exit 48 </xsl:text> 45 49 </xsl:template> 46 50 … … 60 64 </xsl:variable> 61 65 <xsl:text>copy /srv/www/www.linuxfromscratch.org/patches/downloads/</xsl:text> 62 66 <xsl:value-of select="substring-before($patch.name2, '-0')"/> 63 67 <xsl:text>/</xsl:text> 64 68 <xsl:value-of select="$patch.name"/> 65 <xsl:text> . 
</xsl:text> 69 <xsl:text> . 70 </xsl:text> 66 71 </xsl:if> 67 72 </xsl:template>
Note:
See TracChangeset
for help on using the changeset viewer.