r2603 - jhalfs/trunk/common

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sun Apr 30 08:49:43 PDT 2006


Author: manuel
Date: 2006-04-30 09:49:43 -0600 (Sun, 30 Apr 2006)
New Revision: 2603

Modified:
   jhalfs/trunk/common/urls.xsl
Log:
Fixed some URLs generation.

Modified: jhalfs/trunk/common/urls.xsl
===================================================================
--- jhalfs/trunk/common/urls.xsl	2006-04-30 15:27:39 UTC (rev 2602)
+++ jhalfs/trunk/common/urls.xsl	2006-04-30 15:49:43 UTC (rev 2603)
@@ -49,14 +49,17 @@
       <xsl:value-of select="$server"/>
       <xsl:text>/pub/lfs/conglomeration/</xsl:text>
       <xsl:choose>
-        <!-- TCL don't conform the standard package naming -->
-        <xsl:when test="contains($package, 'tcl')">
+        <!-- Fix some directories. Test against package2 to be sure that we
+        are matching the start of a package name, not a string in a patch name -->
+        <xsl:when test="contains($package2, 'bash')">
+          <xsl:text>bash/</xsl:text>
+        </xsl:when>
+        <xsl:when test="contains($package2, 'glibc')">
+          <xsl:text>glibc/</xsl:text>
+        </xsl:when>
+        <xsl:when test="contains($package2, 'tcl')">
           <xsl:text>tcl/</xsl:text>
         </xsl:when>
-        <!-- Fix bash-doc directory -->
-        <xsl:when test="contains($package, 'bash-doc')">
-          <xsl:text>bash/</xsl:text>
-        </xsl:when>
         <xsl:otherwise>
           <xsl:value-of select="$dirname"/>
           <xsl:text>/</xsl:text>




More information about the alfs-log mailing list