Support cygwin

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162807 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-06-19 13:36:23 +00:00
parent 581fa34537
commit 403a1c570f
1 changed files with 11 additions and 1 deletions

View File

@ -6,6 +6,10 @@ home=`pwd`
cp=`pwd`/../maven-core-it-verifier/target/maven-core-it-verifier-1.0.jar
if $cygwin; then
cp=`cygpath -pw "$cp"`
fi
if [ ! -f $cp ]
then
echo
@ -43,6 +47,12 @@ do
echo
fi
java -cp $cp $verifier `pwd`
basedir=`pwd`
if $cygwin; then
basedir=`cygpath -pw "$basedir"`
fi
java -cp "$cp" $verifier "$basedir"
)
done