From 128ae8e0e5f2f3939a5702c4363831a6101a3d84 Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Gonzalez Date: Fri, 28 Jul 2006 14:35:11 +0000 Subject: [PATCH] [MAVENUPLOAD-1015] Added databinder repo git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@426543 13f79535-47bb-0310-9956-ffa450edef68 --- maven-meeper/src/bin/m2-sync/m2-sync.sh | 12 +++++++++++- maven-meeper/src/bin/m2-sync/net.databinder.sh | 8 ++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100755 maven-meeper/src/bin/m2-sync/net.databinder.sh diff --git a/maven-meeper/src/bin/m2-sync/m2-sync.sh b/maven-meeper/src/bin/m2-sync/m2-sync.sh index 3ec5fa8fb9..8fa035f516 100755 --- a/maven-meeper/src/bin/m2-sync/m2-sync.sh +++ b/maven-meeper/src/bin/m2-sync/m2-sync.sh @@ -24,5 +24,15 @@ cd $HOME/repository-staging/to-ibiblio/maven2 # ideally we would use --ignore-existing but we need to copy the metadata files +if [ -z $NO_SSH ] +then + if [ -z $SSH_OPTS ] + then + RSYNC_SSH="-e ssh" + else + RSYNC_SSH="-e \"ssh $SSH_OPTS\"" + fi +fi + echo "Syncing $FROM -> $TO" -rsync --exclude-from=$HOME/components/maven-meeper/src/bin/syncopate/exclusions.txt $RSYNC_OPTS -Lrtivz -e "ssh $SSH_OPTS" $FROM $TO +rsync --exclude-from=$HOME/components/maven-meeper/src/bin/syncopate/exclusions.txt $RSYNC_OPTS -Lrtivz $RSYNC_SSH $FROM $TO diff --git a/maven-meeper/src/bin/m2-sync/net.databinder.sh b/maven-meeper/src/bin/m2-sync/net.databinder.sh new file mode 100755 index 0000000000..459110b445 --- /dev/null +++ b/maven-meeper/src/bin/m2-sync/net.databinder.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +FROM=rsync://databinder.net/maven/net/databinder/ +TO=net/databinder/ + +NO_SSH=true + +source ./m2-sync.sh