[alfs-log] r4065 - jhalfs/trunk/BLFS/xsl

pierre at higgs.linuxfromscratch.org pierre at higgs.linuxfromscratch.org
Fri Sep 28 07:39:18 PDT 2018


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>		config	MENU_</xsl:text>
-      <xsl:value-of select="translate(name,' ','_')"/>
+      <xsl:value-of select="translate(name,' ()','___')"/>
       <xsl:text>
 		bool	"</xsl:text>
       <xsl:value-of select="name"/>
@@ -188,7 +188,7 @@
       <xsl:value-of select="name"/>
       <xsl:text>"
 		depends MENU_</xsl:text>
-      <xsl:value-of select="translate(name,' ','_')"/>
+      <xsl:value-of select="translate(name,' ()','___')"/>
       <xsl:text>
 
 </xsl:text>


More information about the alfs-log mailing list