Author: manuel
Date: 2006-05-10 17:03:03 -0600 (Wed, 10 May 2006)
New Revision: 1558
Modified:
trunk/BOOK/stylesheets/patcheslist.xsl
Log:
Small stylesheet fix.
Modified: trunk/BOOK/stylesheets/patcheslist.xsl
===================================================================
--- trunk/BOOK/stylesheets/patcheslist.xsl 2006-05-10 22:51:37 UTC (rev
1557)
+++ trunk/BOOK/stylesheets/patcheslist.xsl 2006-05-10 23:03:03 UTC (rev
1558)
@@ -23,7 +23,7 @@
}
umask 002 

</xsl:text>
-
+
<!-- Create dest.dir if it don't exist -->
<xsl:text>install -d -m 775 -g lfswww </xsl:text>
<xsl:value-of select="$dest.dir"/>
@@ -38,9 +38,9 @@
<xsl:text>
chgrp lfswww *.patch &&
</xsl:text>
<xsl:text>
if [ `wc -l copyerrs | sed 's/ *//' | cut -f1 -d' '` -gt 0 ]; then
- mail -s "Missing LFS patches" [email protected] < copyerrs
+ mail -s "Missing CLFS patches" [EMAIL PROTECTED] < copyerrs
fi

</xsl:text>
-
+
<xsl:text>exit
</xsl:text>
</xsl:template>
@@ -48,10 +48,10 @@
<xsl:template match="//ulink">
<!-- Match only local patches links and skip duplicated URLs splitted
for PDF output-->
- <xsl:if test="contains(@url, '.patch') and contains(@url,
'&patches-root;')
+ <xsl:if test="contains(@url, '.patch') and contains(@url, '&patches-root;')
and not(ancestor-or-self::*/@condition = 'pdf')">
<xsl:variable name="patch.name" select="substring-after(@url,
'&patches-root;')"/>
- <xsl:variable name="cut"
+ <xsl:variable name="cut"
select="translate(substring-after($patch.name, '-'),
'0123456789', '0000000000')"/>
<xsl:variable name="patch.name2">
<xsl:value-of select="substring-before($patch.name, '-')"/>
--
http://linuxfromscratch.org/mailman/listinfo/cross-lfs
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page