Fix MBOOT_CP generation for cygwin :

- convert MBOOT_CP to unix format if a user define it
- Remove MBOOT_CP conversion to unix format after initialization because we already have it in unix format.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162707 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-05-19 08:40:38 +00:00
parent e352a04716
commit 0a5f04c0a6
1 changed files with 5 additions and 5 deletions

View File

@ -27,15 +27,15 @@ createMBootClasspath()
{
findAndSetMavenRepoLocal
for i in `cat ${MBOOT_HOME}/deps`
do
MBOOT_CP=${MBOOT_CP}:$repoLocal/$i
done
if [ "$cygwin" = "true" ]
then
MBOOT_CP=`cygpath -pu "$MBOOT_CP"`
fi
for i in `cat ${MBOOT_HOME}/deps`
do
MBOOT_CP=${MBOOT_CP}:$repoLocal/$i
done
}
findAndSetMavenRepoLocal()