summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Pobrislo2012-08-15 03:03:23 (GMT)
committerZac Medico2012-08-15 03:03:23 (GMT)
commite672b5ccbbbe38eda5c733fc799a20d92a8bdf75 (patch)
tree856394fd372389195c3c872e1afa88ed959fc5b2
parentb711786c8fe6231a2d33b0a3070355339cbeb36d (diff)
emerge-webrsync: PORTAGE_RSYNC_OPTS, bug #364105
-rwxr-xr-xbin/emerge-webrsync7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync
index 80d6294..5644abf 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 ..."