maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/sandbox/repoclean/src/main/bash repoclean.sh
Date Fri, 01 Apr 2005 00:35:52 GMT
brett       2005/03/31 16:35:52

  Modified:    sandbox/repoclean/src/main/bash repoclean.sh
  Log:
  fix for cygwin
  
  Revision  Changes    Path
  1.3       +9 -0      maven-components/sandbox/repoclean/src/main/bash/repoclean.sh
  
  Index: repoclean.sh
  ===================================================================
  RCS file: /home/cvs/maven-components/sandbox/repoclean/src/main/bash/repoclean.sh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- repoclean.sh	23 Mar 2005 04:53:30 -0000	1.2
  +++ repoclean.sh	1 Apr 2005 00:35:51 -0000	1.3
  @@ -10,4 +10,13 @@
   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
  
  
  

Mime
View raw message