From 6fbb41ff75cfe733018d6d89484d87d91f0ea3d9 Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Gonzalez Date: Thu, 24 Aug 2006 18:00:38 +0000 Subject: [PATCH] Fixed problems with variables git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@434451 13f79535-47bb-0310-9956-ffa450edef68 --- maven-meeper/src/bin/m2-sync/m2-sync.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/maven-meeper/src/bin/m2-sync/m2-sync.sh b/maven-meeper/src/bin/m2-sync/m2-sync.sh index 709c5d15d..a2cdfbb48 100755 --- a/maven-meeper/src/bin/m2-sync/m2-sync.sh +++ b/maven-meeper/src/bin/m2-sync/m2-sync.sh @@ -36,18 +36,18 @@ for f in `find conf -iname "*.sh"` then if [ -z $SSH_OPTS ] then - RSYNC_SSH="-e ssh" + RSYNC_SSH="--rsh=ssh" else - RSYNC_SSH="-e \"ssh $SSH_OPTS\"" + RSYNC_SSH="--rsh=ssh $SSH_OPTS" fi fi echo "Syncing $FROM -> $TO" - rsync --include=*/ --include=**/maven-metadata.xml* --exclude=* --exclude-from=$HOME/components/maven-meeper/src/bin/syncopate/exclusions.txt $RSYNC_OPTS -Lrtivz $RSYNC_SSH $FROM $BASEDIR/$TO - rsync --exclude-from=$HOME/components/maven-meeper/src/bin/syncopate/exclusions.txt --ignore-existing $RSYNC_OPTS -Lrtivz $RSYNC_SSH $FROM $BASEDIR/$TO + rsync --include=*/ --include=**/maven-metadata.xml* --exclude=* --exclude-from=$HOME/components/maven-meeper/src/bin/syncopate/exclusions.txt $RSYNC_OPTS -Lrtivz "$RSYNC_SSH" $FROM $BASEDIR/$TO + rsync --exclude-from=$HOME/components/maven-meeper/src/bin/syncopate/exclusions.txt --ignore-existing $RSYNC_OPTS -Lrtivz "$RSYNC_SSH" $FROM $BASEDIR/$TO # check for changed files - rsync -n --exclude=**/maven-metadata.xml* --exclude-from=$HOME/components/maven-meeper/src/bin/syncopate/exclusions.txt --existing $RSYNC_OPTS -Lrtivzc $RSYNC_SSH $FROM $BASEDIR/$TO >> $CHANGED_LOG + rsync -n --exclude=**/maven-metadata.xml* --exclude-from=$HOME/components/maven-meeper/src/bin/syncopate/exclusions.txt --existing $RSYNC_OPTS -Lrtivzc "$RSYNC_SSH" $FROM $BASEDIR/$TO >> $CHANGED_LOG done -- 2.39.5