general improvements

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@423026 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2006-07-18 09:32:43 +00:00
parent c9b9bf6f52
commit 5a31c30acb
1 changed files with 10 additions and 7 deletions

View File

@ -1,16 +1,19 @@
#!/bin/bash #!/bin/bash
export dest=/home/maven/repository-staging/to-ibiblio dir=/home/maven/repository-staging/to-ibiblio
export repocleanhome=$HOME/repository-tools/repoclean repocleanhome=$HOME/repository-tools/repoclean
log=$repocleanhome/last-changes.log log=$repocleanhome/last-changes.log
src=maven2-repoclean
dst=maven2
$repocleanhome/repoclean.sh ~/components/maven-meeper/src/bin/repoclean/synchronize.properties $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 for f in `cat $log | grep maven-metadata.xml$` ; do
md5sum $dest/maven2/$f > $dest/maven2/$f.md5; md5sum $dir/$dst/$f > $dir/$dst/$f.md5;
sha1sum $dest/maven2/$f > $dest/maven2/$f.sha1; sha1sum $dir/$dst/$f > $dir/$dst/$f.sha1;
md5sum $dest/maven2-repoclean/$f > $dest/maven2-repoclean/$f.md5; md5sum $dir/$src/$f > $dir/$src/$f.md5;
sha1sum $dest/maven2-repoclean/$f > $dest/maven2-repoclean/$f.sha1; sha1sum $dir/$src/$f > $dir/$src/$f.sha1;
done done