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
This commit is contained in:
Manuel Canales Esparcia 2004-06-28 19:00:51 +00:00
parent d6b4e80c23
commit 7a4ac0ef9c

View File

@ -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>
@ -36,10 +37,17 @@
<xsl:when test="contains ($cut, ',')">
<xsl:value-of select="substring-before (substring-after($cut, $links.directory), ',2')"/>
</xsl:when>
<xsl:otherwise>
<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>
<xsl:text>/</xsl:text>
<xsl:value-of select="substring-after(@url, $links.directory)"/>