From b53c5189e8961826cd7d89e255820166a20bb01c Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Sat, 17 Feb 2007 03:53:30 +0000 Subject: [PATCH] Add support for RSYNC_EXTRA_OPTS to webrsync svn path=/main/trunk/; revision=5973 --- bin/emerge-webrsync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync index b1362b379..24fc377c2 100755 --- a/bin/emerge-webrsync +++ b/bin/emerge-webrsync @@ -7,7 +7,7 @@ eval $(/usr/lib/portage/bin/portageq envvar -v FEATURES FETCHCOMMAND \ GENTOO_MIRRORS PORTAGE_INST_UID PORTAGE_INST_GID PORTAGE_NICENESS \ - PORTAGE_TMPDIR PORTDIR) + PORTAGE_TMPDIR PORTDIR PORTAGE_RSYNC_EXTRA_OPTS) DISTDIR="${PORTAGE_TMPDIR}/emerge-webrsync" # If PORTAGE_NICENESS is overriden via the env then it will @@ -70,7 +70,7 @@ sync_local() { cd portage rsync -av --progress --stats --delete --delete-after \ --exclude='/distfiles' --exclude='/packages' \ - --exclude='/local' . ${PORTDIR%%/} + --exclude='/local' ${PORTAGE_RSYNC_EXTRA_OPTS} . ${PORTDIR%%/} cd .. echo "cleaning up" rm -rf portage -- 2.26.2