r3840 - jhalfs/trunk/BLFS/xsl

pierre at higgs.linuxfromscratch.org pierre at higgs.linuxfromscratch.org
Mon Nov 23 06:03:39 PST 2015


Author: pierre
Date: Mon Nov 23 06:03:39 2015
New Revision: 3840

Log:
Fix name of external dependencies so that they contain no spaces

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

Modified: jhalfs/trunk/BLFS/xsl/gen_pkg_list.xsl
==============================================================================
--- jhalfs/trunk/BLFS/xsl/gen_pkg_list.xsl	Sat Nov 21 00:46:54 2015	(r3839)
+++ jhalfs/trunk/BLFS/xsl/gen_pkg_list.xsl	Mon Nov 23 06:03:39 2015	(r3840)
@@ -286,8 +286,8 @@
           <xsl:value-of select="$status"/>
         </xsl:attribute>
         <xsl:attribute name="name">
-          <xsl:value-of select="normalize-space(text())"/>
         </xsl:attribute>
+          <xsl:value-of select="translate(normalize-space(text()),' ','-')"/>
         <xsl:attribute name="type">link</xsl:attribute>
       </xsl:element>
     </xsl:for-each>


More information about the alfs-log mailing list