diff --git a/maven-meeper/src/bin/copy-updated-poms.sh b/maven-meeper/src/bin/copy-updated-poms.sh index 26deac3298..a19e575683 100755 --- a/maven-meeper/src/bin/copy-updated-poms.sh +++ b/maven-meeper/src/bin/copy-updated-poms.sh @@ -1,8 +1,18 @@ #!/bin/sh +GROUPID=$1 + src=/home/projects/maven/repository-staging/pom-svn-repository dest=/home/projects/maven/repository-staging/to-ibiblio/maven2 + +if [ ! -z $GROUPID ] +then + src=$src/$GROUPID + dest=$src/$GROUPID +fi + + rsync -e ssh -v -rpt --exclude=.svn --exclude=updated-poms.log $src/ $dest/ > $src/updated-poms.log for f in `grep .pom $src/updated-poms.log` ; do