Fixed a bug in patches URLs generation.
This commit is contained in:
parent
8d0fa355c9
commit
e071571a1b
1 changed files with 7 additions and 7 deletions
|
@ -54,24 +54,24 @@
|
||||||
<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>
|
||||||
<!-- Fix some directories. Test against package2 to be sure that we
|
<!-- Fix some directories. Test against dirname to be sure that we
|
||||||
are matching the start of a package name, not a string in a patch name -->
|
are matching the start of a package name, not a string in a patch name -->
|
||||||
<xsl:when test="contains($package2, 'bash')">
|
<xsl:when test="contains($dirname, 'bash')">
|
||||||
<xsl:text>bash/</xsl:text>
|
<xsl:text>bash/</xsl:text>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:when test="contains($package2, 'gcc')">
|
<xsl:when test="contains($dirname, 'gcc')">
|
||||||
<xsl:text>gcc/</xsl:text>
|
<xsl:text>gcc/</xsl:text>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:when test="contains($package2, 'glibc')">
|
<xsl:when test="contains($dirname, 'glibc')">
|
||||||
<xsl:text>glibc/</xsl:text>
|
<xsl:text>glibc/</xsl:text>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:when test="contains($package2, 'tcl')">
|
<xsl:when test="contains($dirname, 'tcl')">
|
||||||
<xsl:text>tcl/</xsl:text>
|
<xsl:text>tcl/</xsl:text>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:when test="contains($package2, 'uClibc')">
|
<xsl:when test="contains($dirname, 'uClibc')">
|
||||||
<xsl:text>uClibc/</xsl:text>
|
<xsl:text>uClibc/</xsl:text>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:when test="contains($package2, 'udev')">
|
<xsl:when test="contains($dirname, 'udev')">
|
||||||
<xsl:text>udev/</xsl:text>
|
<xsl:text>udev/</xsl:text>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
|
|
Reference in a new issue