emerge-delta-webrsync: PORTAGE_RSYNC_OPTS
authorZac Medico <zmedico@gentoo.org>
Sat, 18 Aug 2012 01:27:58 +0000 (18:27 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 18 Aug 2012 01:27:58 +0000 (18:27 -0700)
misc/emerge-delta-webrsync

index aa3a3d9562b8e1182a53903b98ffb28084697cc0..34c70940ebe61960188f2d83462750d00b127dd7 100755 (executable)
@@ -274,9 +274,7 @@ sync_local() {
                chown ${ownership} portage > /dev/null 2>&1 && \
                        chown -R ${ownership} portage
                cd portage
-               rsync -av --progress --stats --delete --delete-after \
-               --exclude='/distfiles' --exclude='/packages' \
-               --exclude='/local' . ${PORTDIR%%/}
+               rsync ${PORTAGE_RSYNC_OPTS} ${PORTAGE_RSYNC_EXTRA_OPTS} . "${PORTDIR%%/}"
                cd ..
                echo "cleaning up"
                rm -rf portage