]> source.dussan.org Git - archiva.git/commitdiff
Use new location of exclusions file
authorCarlos Sanchez Gonzalez <carlos@apache.org>
Tue, 17 Oct 2006 21:20:40 +0000 (21:20 +0000)
committerCarlos Sanchez Gonzalez <carlos@apache.org>
Tue, 17 Oct 2006 21:20:40 +0000 (21:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@465059 13f79535-47bb-0310-9956-ffa450edef68

maven-meeper/src/bin/synchronize/m2-sync/m2-sync.sh

index 7bbd432841be220f8d7dab3b656c7c78654c625b..4dd654a962d7a4ecf1e6185966e8c13df0b96374 100755 (executable)
@@ -47,13 +47,13 @@ for f in `find conf -iname "*.sh"`
   # check for changed files
   if [ "$1" == "check" ]; then
 
-    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/synchronize/syncopate/exclusions.txt --existing $RSYNC_OPTS -Lrtivzc "$RSYNC_SSH" $FROM $BASEDIR/$TO >> $CHANGED_LOG
 
   else
 
     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/synchronize/syncopate/exclusions.txt $RSYNC_OPTS -Lrtivz "$RSYNC_SSH" $FROM $BASEDIR/$TO
+    rsync --exclude-from=$HOME/components/maven-meeper/src/bin/synchronize/syncopate/exclusions.txt --ignore-existing $RSYNC_OPTS -Lrtivz "$RSYNC_SSH" $FROM $BASEDIR/$TO
 
   fi