mirror of https://github.com/apache/maven.git
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:
parent
32aef3b0d7
commit
3638539f6f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue