a little fix for windows/cygwin

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162595 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-03-09 23:55:53 +00:00
parent cd76ad3659
commit 61598c029e
1 changed files with 5 additions and 1 deletions

View File

@ -76,4 +76,8 @@ findAndSetMavenRepoLocal
CP=$repoLocal/modello/jars/modello-1.0-SNAPSHOT.jar:$repoLocal/xstream/jars/xstream-1.0-SNAPSHOT.jar:$repoLocal/xpp3/jars/xpp3-1.1.3.3.jar
java -classpath $CP org.codehaus.modello.Modello $model $mode $dir $model_version
if $cygwin; then
CP=`cygpath -pw "$CP"`
fi
java -classpath "$CP" org.codehaus.modello.Modello $model $mode "$dir" $model_version