Fix generation of full locales
The recent addition of instructions for adding locales not installed by make install-localedata has broken the generation of the scriptlet, because there is a missing linefeed. Use xsl:for-each to add a linefeed after each <userinput> text.
This commit is contained in:
parent
894eec328d
commit
cfdb089dcf
1 changed files with 4 additions and 2 deletions
|
@ -334,8 +334,10 @@ rm -rf $PKG_DEST
|
||||||
<xsl:if test="../@id='ch-system-glibc' and @role='installation'">
|
<xsl:if test="../@id='ch-system-glibc' and @role='installation'">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="$full-locale='y'">
|
<xsl:when test="$full-locale='y'">
|
||||||
<xsl:copy-of select="//userinput[@remap='locale-full']"/>
|
<xsl:for-each select="//userinput[@remap='locale-full']">
|
||||||
<xsl:text>
</xsl:text>
|
<xsl:copy-of select="."/>
|
||||||
|
<xsl:text>
</xsl:text>
|
||||||
|
</xsl:for-each>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:copy-of select="//userinput[@remap='locale-test']"/>
|
<xsl:copy-of select="//userinput[@remap='locale-test']"/>
|
||||||
|
|
Reference in a new issue