You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2009/09/15 22:39:32 UTC

svn commit: r815474 - /maven/maven-2/branches/maven-2.2.x/build.xml

Author: hboutemy
Date: Tue Sep 15 20:39:32 2009
New Revision: 815474

URL: http://svn.apache.org/viewvc?rev=815474&view=rev
Log:
fixed M2_HOME check, which was failing under Windows (because of backslash instead of slash)

Modified:
    maven/maven-2/branches/maven-2.2.x/build.xml

Modified: maven/maven-2/branches/maven-2.2.x/build.xml
URL: http://svn.apache.org/viewvc/maven/maven-2/branches/maven-2.2.x/build.xml?rev=815474&r1=815473&r2=815474&view=diff
==============================================================================
--- maven/maven-2/branches/maven-2.2.x/build.xml (original)
+++ maven/maven-2/branches/maven-2.2.x/build.xml Tue Sep 15 20:39:32 2009
@@ -92,7 +92,7 @@
     <fail message="Expected M2_HOME to end in ${maven.home.basename.expected} but was ${maven.home}">
       <condition>
         <not>
-          <equals arg1="${maven.home}" arg2="${maven.home.dirname}/${maven.home.basename.expected}" />
+          <equals arg1="${maven.home.basename}" arg2="${maven.home.basename.expected}" />
         </not>
       </condition>
     </fail>