mirror of https://github.com/apache/maven.git
Allow sync of subfolders only
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@358940 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b248997b7f
commit
a06b58fd7d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue