aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-06-28 19:00:51 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-06-28 19:00:51 +0000
commit7a4ac0ef9c7c6f3a11090c17995fea3aea14493b (patch)
treefb52ca31baafe6a6f28523c1b1268dca201c7ece /stylesheets
parentd6b4e80c23e1e2fe4a325a59d5dddfdf60ebe514 (diff)
patcheslist.xsl: added a chgrp command and solvedan issue with the tetex dir & patch name.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3861 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets')
-rw-r--r--stylesheets/patcheslist.xsl10
1 files changed, 9 insertions, 1 deletions
diff --git a/stylesheets/patcheslist.xsl b/stylesheets/patcheslist.xsl
index a4b934a5b..62e1d38ad 100644
--- a/stylesheets/patcheslist.xsl
+++ b/stylesheets/patcheslist.xsl
@@ -18,6 +18,7 @@
<xsl:text> &amp;&amp;&#x0a;&#x0a;</xsl:text>
<xsl:text> rm -f *.patch &amp;&amp;&#x0a;&#x0a;</xsl:text>
<xsl:apply-templates/>
+ <xsl:text>&#x0a; chgrp lfswww *.patch &amp;&amp;&#x0a;</xsl:text>
<xsl:text>&#x0a; exit</xsl:text>
</xsl:template>
@@ -37,7 +38,14 @@
<xsl:value-of select="substring-before (substring-after($cut, $links.directory), ',2')"/>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="substring-before (substring-after($cut, $links.directory), '-2')"/>
+ <xsl:choose>
+ <xsl:when test="contains ($cut, '-src-2')">
+ <xsl:value-of select="substring-before (substring-after($cut, $links.directory), '-src-2')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="substring-before (substring-after($cut, $links.directory), '-2')"/>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:if>