diff --git a/maven-meeper/src/bin/copy-updated-poms.sh b/maven-meeper/src/bin/copy-updated-poms.sh index a19e575683..451b0ee9e5 100755 --- a/maven-meeper/src/bin/copy-updated-poms.sh +++ b/maven-meeper/src/bin/copy-updated-poms.sh @@ -2,20 +2,23 @@ GROUPID=$1 -src=/home/projects/maven/repository-staging/pom-svn-repository -dest=/home/projects/maven/repository-staging/to-ibiblio/maven2 +basesrc=/home/projects/maven/repository-staging/pom-svn-repository +basedest=/home/projects/maven/repository-staging/to-ibiblio/maven2 if [ ! -z $GROUPID ] then src=$src/$GROUPID - dest=$src/$GROUPID + dest=$dest/$GROUPID +else + src=$basesrc + dest=$basedest fi -rsync -e ssh -v -rpt --exclude=.svn --exclude=updated-poms.log $src/ $dest/ > $src/updated-poms.log +rsync -e ssh -v -rpt --exclude=.svn --exclude=updated-poms.log $src/ $dest/ > $basesrc/updated-poms.log -for f in `grep .pom $src/updated-poms.log` ; do +for f in `grep .pom $basesrc/updated-poms.log` ; do md5sum $dest/$f > $dest/$f.md5 ; sha1sum $dest/$f > $dest/$f.sha1; done