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