fix for cygwin

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163734 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-04-01 00:35:51 +00:00
parent 32aef3b0d7
commit 3638539f6f
1 changed files with 9 additions and 0 deletions

View File

@ -10,4 +10,13 @@ CP=$CP:./lib/wagon-provider-api-1.0-alpha-2-SNAPSHOT.jar
CP=$CP:./lib/wagon-file-1.0-alpha-2-SNAPSHOT.jar
CP=$CP:./lib/wagon-http-lightweight-1.0-alpha-2-SNAPSHOT.jar
cygwin=false
case "`uname`" in
CYGWIN*) cygwin=true ;;
esac
if [ $cygwin ]; then
CP=`cygpath -pw $CP`
fi
java -classpath ${CP} org.apache.maven.tools.repoclean.Main $* | tee repoclean-log.txt