Fix metadata checksums

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@422688 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2006-07-17 11:22:20 +00:00
parent fbd4214e1d
commit ac2f8d8680
1 changed files with 9 additions and 1 deletions

View File

@ -2,6 +2,7 @@
dest=/home/maven/repository-staging/to-ibiblio
repocleanhome=$HOME/repository-tools/repoclean
log=$repocleanhome/last-changes-java.net.log
cd $dest/maven-java.net
@ -9,4 +10,11 @@ cvs update -P
$repocleanhome/repoclean.sh ~/components/maven-meeper/src/bin/repoclean/java.net/synchronize.properties
rsync --ignore-existing -ripl $dest/maven2-repoclean-java.net/com/sun/ $dest/maven2/com/sun/
rsync --ignore-existing -ripl $dest/maven2-repoclean-java.net/com/sun/ $dest/maven2/com/sun/ > $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-java.net/$f > $dest/maven2-repoclean-java.net/$f.md5;
sha1sum $dest/maven2-repoclean-java.net/$f > $dest/maven2-repoclean-java.net/$f.sha1;
done