Fixed TCL URL generation.
This commit is contained in:
parent
5a13801789
commit
4887f67c8b
1 changed files with 12 additions and 1 deletions
|
@ -40,6 +40,17 @@
|
||||||
<xsl:value-of select="$cut"/>
|
<xsl:value-of select="$cut"/>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="dirname" select="substring-before($package2, '-0')"/>
|
<xsl:variable name="dirname" select="substring-before($package2, '-0')"/>
|
||||||
|
<xsl:message>
|
||||||
|
<xsl:text>pakage is: </xsl:text>
|
||||||
|
<xsl:value-of select="$package"/>
|
||||||
|
<xsl:text>
</xsl:text>
|
||||||
|
<xsl:text>pakage2 is: </xsl:text>
|
||||||
|
<xsl:value-of select="$package2"/>
|
||||||
|
<xsl:text>
</xsl:text>
|
||||||
|
<xsl:text>dirname is: </xsl:text>
|
||||||
|
<xsl:value-of select="$dirname"/>
|
||||||
|
<xsl:text>

</xsl:text>
|
||||||
|
</xsl:message>
|
||||||
<!-- Write the upstream URLs, except the redirected ones -->
|
<!-- Write the upstream URLs, except the redirected ones -->
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="contains(@url,'?')">
|
<xsl:when test="contains(@url,'?')">
|
||||||
|
@ -65,7 +76,7 @@
|
||||||
<xsl:when test="contains($dirname, '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($dirname, 'tcl')">
|
<xsl:when test="contains($package, 'tcl')">
|
||||||
<xsl:text>tcl/</xsl:text>
|
<xsl:text>tcl/</xsl:text>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:when test="contains($dirname, 'uClibc')">
|
<xsl:when test="contains($dirname, 'uClibc')">
|
||||||
|
|
Reference in a new issue