diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-06-28 19:00:51 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-06-28 19:00:51 +0000 |
commit | 7a4ac0ef9c7c6f3a11090c17995fea3aea14493b (patch) | |
tree | fb52ca31baafe6a6f28523c1b1268dca201c7ece /stylesheets | |
parent | d6b4e80c23e1e2fe4a325a59d5dddfdf60ebe514 (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.xsl | 10 |
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> &&

</xsl:text> <xsl:text> rm -f *.patch &&

</xsl:text> <xsl:apply-templates/> + <xsl:text>
 chgrp lfswww *.patch &&
</xsl:text> <xsl:text>
 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> |