Fix for cygwin.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162567 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-02-13 08:25:18 +00:00
parent bb5bfb01b5
commit f70e21faaa
1 changed files with 7 additions and 1 deletions

View File

@ -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
}