diff options
Diffstat (limited to 'stylesheets/patcheslist.xsl')
-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> |