From: Carlos Sanchez Gonzalez Date: Thu, 24 Aug 2006 18:00:38 +0000 (+0000) Subject: Fixed problems with variables X-Git-Tag: archiva-0.9-alpha-1~674 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6fbb41ff75cfe733018d6d89484d87d91f0ea3d9;p=archiva.git Fixed problems with variables git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@434451 13f79535-47bb-0310-9956-ffa450edef68 --- 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