From: Jan Pobrislo Date: Wed, 15 Aug 2012 03:03:23 +0000 (-0700) Subject: emerge-webrsync: PORTAGE_RSYNC_OPTS, bug #364105 X-Git-Tag: v2.2.0_alpha122~33 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e672b5ccbbbe38eda5c733fc799a20d92a8bdf75;p=portage.git emerge-webrsync: PORTAGE_RSYNC_OPTS, bug #364105 --- diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync index 80d62947f..5644abfa4 100755 --- a/bin/emerge-webrsync +++ b/bin/emerge-webrsync @@ -41,7 +41,8 @@ else fi eval $("${portageq}" envvar -v DISTDIR FEATURES FETCHCOMMAND GENTOO_MIRRORS \ PORTAGE_BIN_PATH PORTAGE_GPG_DIR \ - PORTAGE_NICENESS PORTAGE_RSYNC_EXTRA_OPTS PORTAGE_TMPDIR PORTDIR \ + PORTAGE_NICENESS PORTAGE_RSYNC_EXTRA_OPTS \ + PORTAGE_RSYNC_OPTS PORTAGE_TMPDIR PORTDIR \ SYNC USERLAND http_proxy ftp_proxy) export http_proxy ftp_proxy @@ -220,9 +221,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' ${PORTAGE_RSYNC_EXTRA_OPTS} . "${PORTDIR%%/}" + rsync ${PORTAGE_RSYNC_OPTS} ${PORTAGE_RSYNC_EXTRA_OPTS} . "${PORTDIR%%/}" cd .. vecho "Cleaning up ..."