From f70e21faaa3e0320ff6086ebdda1ea72df177f12 Mon Sep 17 00:00:00 2001 From: Emmanuel Venisse Date: Fri, 13 Feb 2004 08:25:18 +0000 Subject: [PATCH] Fix for cygwin. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162567 13f79535-47bb-0310-9956-ffa450edef68 --- maven-mboot/src/bash/maven.functions | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 }