From 61598c029ec2633dedff6818daa25ce9546a0d3f Mon Sep 17 00:00:00 2001 From: Emmanuel Venisse Date: Tue, 9 Mar 2004 23:55:53 +0000 Subject: [PATCH] a little fix for windows/cygwin git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162595 13f79535-47bb-0310-9956-ffa450edef68 --- maven-mboot/src/bash/modello | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/maven-mboot/src/bash/modello b/maven-mboot/src/bash/modello index fc9b04fdbd..a03a981550 100755 --- a/maven-mboot/src/bash/modello +++ b/maven-mboot/src/bash/modello @@ -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