maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r423026 - /maven/components/trunk/maven-meeper/src/bin/repoclean/sync-repoclean.sh
Date Tue, 18 Jul 2006 09:32:44 GMT
Author: carlos
Date: Tue Jul 18 02:32:43 2006
New Revision: 423026

URL: http://svn.apache.org/viewvc?rev=423026&view=rev
Log:
general improvements

Modified:
    maven/components/trunk/maven-meeper/src/bin/repoclean/sync-repoclean.sh

Modified: maven/components/trunk/maven-meeper/src/bin/repoclean/sync-repoclean.sh
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-meeper/src/bin/repoclean/sync-repoclean.sh?rev=423026&r1=423025&r2=423026&view=diff
==============================================================================
--- maven/components/trunk/maven-meeper/src/bin/repoclean/sync-repoclean.sh (original)
+++ maven/components/trunk/maven-meeper/src/bin/repoclean/sync-repoclean.sh Tue Jul 18 02:32:43
2006
@@ -1,16 +1,19 @@
 #!/bin/bash
 
-export dest=/home/maven/repository-staging/to-ibiblio
-export repocleanhome=$HOME/repository-tools/repoclean
+dir=/home/maven/repository-staging/to-ibiblio
+repocleanhome=$HOME/repository-tools/repoclean
 log=$repocleanhome/last-changes.log
 
+src=maven2-repoclean
+dst=maven2
+
 $repocleanhome/repoclean.sh ~/components/maven-meeper/src/bin/repoclean/synchronize.properties
 
-rsync --ignore-existing -rvpl $dest/maven2-repoclean/ $dest/maven2/ > $log
+rsync --ignore-existing -rvpl $dir/$src/ $dir/dst/ > $log
 
 for f in `cat $log | grep maven-metadata.xml$` ; do
-  md5sum $dest/maven2/$f > $dest/maven2/$f.md5;
-  sha1sum $dest/maven2/$f > $dest/maven2/$f.sha1;
-  md5sum $dest/maven2-repoclean/$f > $dest/maven2-repoclean/$f.md5;
-  sha1sum $dest/maven2-repoclean/$f > $dest/maven2-repoclean/$f.sha1;
+  md5sum $dir/$dst/$f > $dir/$dst/$f.md5;
+  sha1sum $dir/$dst/$f > $dir/$dst/$f.sha1;
+  md5sum $dir/$src/$f > $dir/$src/$f.md5;
+  sha1sum $dir/$src/$f > $dir/$src/$f.sha1;
 done



Mime
View raw message