diff --git a/maven-mboot/src/bash/maven.functions b/maven-mboot/src/bash/maven.functions index f33312aa8c..9635872367 100755 --- a/maven-mboot/src/bash/maven.functions +++ b/maven-mboot/src/bash/maven.functions @@ -91,9 +91,15 @@ runTests() CP=$1 fi + if $cygwin; then + repo=`cygpath -pw "$3"` + else + repo=$3 + fi + if [ -f $5 ] then - "${JAVACMD}" -classpath "$CP" org.codehaus.surefire.SurefireBooter "$2" "$3" $4 $5 $6 + "${JAVACMD}" -classpath "$CP" org.codehaus.surefire.SurefireBooter "$2" "$repo" $4 $5 $6 fi }