r3585 - jhalfs/branches/ablfs/BLFS/xsl

pierre at linuxfromscratch.org pierre at linuxfromscratch.org
Sat Mar 3 09:02:30 PST 2012


Author: pierre
Date: 2012-03-03 10:02:26 -0700 (Sat, 03 Mar 2012)
New Revision: 3585

Modified:
   jhalfs/branches/ablfs/BLFS/xsl/bump.xsl
Log:
suppress a useless template in bump.xsl

Modified: jhalfs/branches/ablfs/BLFS/xsl/bump.xsl
===================================================================
--- jhalfs/branches/ablfs/BLFS/xsl/bump.xsl	2012-02-29 13:22:01 UTC (rev 3584)
+++ jhalfs/branches/ablfs/BLFS/xsl/bump.xsl	2012-03-03 17:02:26 UTC (rev 3585)
@@ -44,26 +44,4 @@
     </xsl:choose>
   </xsl:template>
 
-  <xsl:template name="dirname">
-    <xsl:param name="filename" select="$packages"/>
-    <xsl:param name="dir" select="''"/>
-    <xsl:choose>
-      <xsl:when test="contains($filename,'/')">
-        <xsl:call-template name="dirname">
-          <xsl:with-param
-            name="filename"
-            select="substring-after($filename,'/')"/>
-          <xsl:with-param
-            name="dir"
-            select="concat(substring-before($filename,'/'),'/')"/>
-        </xsl:call-template>
-      </xsl:when>
-      <xsl:when test="not(contains($dir,'/'))">
-        <xsl:message>`packages' must be an absolute path</xsl:message>
-      </xsl:when>
-      <xsl:otherwise>
-        <xsl:value-of select="$dir"/>
-      </xsl:otherwise>
-    </xsl:choose>
-  </xsl:template>
 </xsl:stylesheet>




More information about the alfs-log mailing list