You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by br...@apache.org on 2005/08/02 08:28:44 UTC

svn commit: r226962 - in /maven/continuum/trunk: build.sh continuum-core-it/run.sh

Author: brett
Date: Mon Aug  1 23:28:40 2005
New Revision: 226962

URL: http://svn.apache.org/viewcvs?rev=226962&view=rev
Log:
more fixes for cygwin

Modified:
    maven/continuum/trunk/build.sh
    maven/continuum/trunk/continuum-core-it/run.sh

Modified: maven/continuum/trunk/build.sh
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/build.sh?rev=226962&r1=226961&r2=226962&view=diff
==============================================================================
--- maven/continuum/trunk/build.sh (original)
+++ maven/continuum/trunk/build.sh Mon Aug  1 23:28:40 2005
@@ -7,8 +7,9 @@
 case "`uname`" in
   CYGWIN*) 
   # required for the integration tests - would be better for them to download a distro, extract and run against it
+  [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath -ws $JAVA_HOME | sed 's#\\\\$##'`
   [ -n "$ANT_HOME" ] && ANT_HOME=`cygpath -w $ANT_HOME`
-  [ -n "$MAVEN_HOME" ] && MAVEN_HOME=`cygpath -w $MAVEN_HOME`
+  [ -n "$MAVEN_HOME" ] && MAVEN_HOME=`cygpath -ws $MAVEN_HOME | sed 's#\\\\$##'`
   [ -n "$M2_HOME" ] && M2_HOME=`cygpath -w $M2_HOME`
   ;;
 esac

Modified: maven/continuum/trunk/continuum-core-it/run.sh
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core-it/run.sh?rev=226962&r1=226961&r2=226962&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core-it/run.sh (original)
+++ maven/continuum/trunk/continuum-core-it/run.sh Mon Aug  1 23:28:40 2005
@@ -7,8 +7,9 @@
 case "`uname`" in
   CYGWIN*) 
   # required for the integration tests - would be better for them to download a distro, extract and run against it
+  [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath -ws $JAVA_HOME | sed 's#\\\\$##'`
   [ -n "$ANT_HOME" ] && ANT_HOME=`cygpath -w $ANT_HOME`
-  [ -n "$MAVEN_HOME" ] && MAVEN_HOME=`cygpath -w $MAVEN_HOME`
+  [ -n "$MAVEN_HOME" ] && MAVEN_HOME=`cygpath -ws $MAVEN_HOME | sed 's#\\\\$##'`
   [ -n "$M2_HOME" ] && M2_HOME=`cygpath -w $M2_HOME`
   ;;
 esac