You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2006/06/26 10:33:39 UTC
svn commit: r417142 - /lenya/trunk/src/resources/build/util.xsl
Author: andreas
Date: Mon Jun 26 01:33:38 2006
New Revision: 417142
URL: http://svn.apache.org/viewvc?rev=417142&view=rev
Log:
Check for Windows path backslashes. See bug #39880. Thanks to Jonathan Addison for the patch.
Modified:
lenya/trunk/src/resources/build/util.xsl
Modified: lenya/trunk/src/resources/build/util.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/resources/build/util.xsl?rev=417142&r1=417141&r2=417142&view=diff
==============================================================================
--- lenya/trunk/src/resources/build/util.xsl (original)
+++ lenya/trunk/src/resources/build/util.xsl Mon Jun 26 01:33:38 2006
@@ -27,6 +27,11 @@
<xsl:with-param name="path" select="substring-after($path, '/')"/>
</xsl:call-template>
</xsl:when>
+ <xsl:when test="contains($path, '\')">
+ <xsl:call-template name="lastStep">
+ <xsl:with-param name="path" select="substring-after($path, '\')"/>
+ </xsl:call-template>
+ </xsl:when>
<xsl:otherwise>
<xsl:value-of select="$path"/>
</xsl:otherwise>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org