mirror of https://github.com/apache/archiva.git
Fixed problems with variables
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@434451 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d6cb964eac
commit
6fbb41ff75
|
@ -36,18 +36,18 @@ for f in `find conf -iname "*.sh"`
|
||||||
then
|
then
|
||||||
if [ -z $SSH_OPTS ]
|
if [ -z $SSH_OPTS ]
|
||||||
then
|
then
|
||||||
RSYNC_SSH="-e ssh"
|
RSYNC_SSH="--rsh=ssh"
|
||||||
else
|
else
|
||||||
RSYNC_SSH="-e \"ssh $SSH_OPTS\""
|
RSYNC_SSH="--rsh=ssh $SSH_OPTS"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Syncing $FROM -> $TO"
|
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 --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 --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
|
# 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
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue