Fixed some URLs generation.
This commit is contained in:
parent
ebf8265611
commit
7453f7465d
1 changed files with 9 additions and 6 deletions
|
@ -49,14 +49,17 @@
|
||||||
<xsl:value-of select="$server"/>
|
<xsl:value-of select="$server"/>
|
||||||
<xsl:text>/pub/lfs/conglomeration/</xsl:text>
|
<xsl:text>/pub/lfs/conglomeration/</xsl:text>
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<!-- TCL don't conform the standard package naming -->
|
<!-- Fix some directories. Test against package2 to be sure that we
|
||||||
<xsl:when test="contains($package, 'tcl')">
|
are matching the start of a package name, not a string in a patch name -->
|
||||||
<xsl:text>tcl/</xsl:text>
|
<xsl:when test="contains($package2, 'bash')">
|
||||||
</xsl:when>
|
|
||||||
<!-- Fix bash-doc directory -->
|
|
||||||
<xsl:when test="contains($package, 'bash-doc')">
|
|
||||||
<xsl:text>bash/</xsl:text>
|
<xsl:text>bash/</xsl:text>
|
||||||
</xsl:when>
|
</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:otherwise>
|
||||||
<xsl:value-of select="$dirname"/>
|
<xsl:value-of select="$dirname"/>
|
||||||
<xsl:text>/</xsl:text>
|
<xsl:text>/</xsl:text>
|
||||||
|
|
Reference in a new issue