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
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue