Author: pierre
Date: Fri Sep 28 07:39:18 2018
New Revision: 4065

Log:
Translate parentheses to "_" in the module page names. Otherwise there are 
errors when displaying the
menu

Modified:
   jhalfs/trunk/BLFS/xsl/gen_config.xsl

Modified: jhalfs/trunk/BLFS/xsl/gen_config.xsl
==============================================================================
--- jhalfs/trunk/BLFS/xsl/gen_config.xsl        Fri Sep 28 07:35:46 2018        
(r4064)
+++ jhalfs/trunk/BLFS/xsl/gen_config.xsl        Fri Sep 28 07:39:18 2018        
(r4065)
@@ -177,7 +177,7 @@
       test="not(version) and ./module[not(inst-version) or
                       string(version) != string(inst-version)]">
       <xsl:text>&#9;&#9;config&#9;MENU_</xsl:text>
-      <xsl:value-of select="translate(name,' ','_')"/>
+      <xsl:value-of select="translate(name,' ()','___')"/>
       <xsl:text>
 &#9;&#9;bool&#9;"</xsl:text>
       <xsl:value-of select="name"/>
@@ -188,7 +188,7 @@
       <xsl:value-of select="name"/>
       <xsl:text>"
 &#9;&#9;depends MENU_</xsl:text>
-      <xsl:value-of select="translate(name,' ','_')"/>
+      <xsl:value-of select="translate(name,' ()','___')"/>
       <xsl:text>
 
 </xsl:text>
-- 
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page

Reply via email to