aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Pobrislo <ccx@volny.cz>2012-08-15 03:03:23 (GMT)
committerZac Medico <zmedico@gentoo.org>2012-08-15 03:03:23 (GMT)
commite672b5ccbbbe38eda5c733fc799a20d92a8bdf75 (patch)
tree856394fd372389195c3c872e1afa88ed959fc5b2
parentemerge-webrsync: preserve ownership for usersync (diff)
downloadportage-e672b5ccbbbe38eda5c733fc799a20d92a8bdf75.zip
portage-e672b5ccbbbe38eda5c733fc799a20d92a8bdf75.tar.gz
portage-e672b5ccbbbe38eda5c733fc799a20d92a8bdf75.tar.bz2
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 ..."