Fixed some URLs generation.

This commit is contained in:
Manuel Canales Esparcia 2006-04-30 15:49:43 +00:00
parent ebf8265611
commit 7453f7465d

View file

@ -49,14 +49,17 @@
<xsl:value-of select="$server"/>
<xsl:text>/pub/lfs/conglomeration/</xsl:text>
<xsl:choose>
<!-- TCL don't conform the standard package naming -->
<xsl:when test="contains($package, 'tcl')">
<xsl:text>tcl/</xsl:text>
</xsl:when>
<!-- Fix bash-doc directory -->
<xsl:when test="contains($package, 'bash-doc')">
<!-- Fix some directories. Test against package2 to be sure that we
are matching the start of a package name, not a string in a patch name -->
<xsl:when test="contains($package2, 'bash')">
<xsl:text>bash/</xsl:text>
</xsl:when>
<xsl:when test="contains($package2, 'glibc')">
<xsl:text>glibc/</xsl:text>
</xsl:when>
<xsl:when test="contains($package2, 'tcl')">
<xsl:text>tcl/</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$dirname"/>
<xsl:text>/</xsl:text>