summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-02-17 03:53:30 +0000
committerMarius Mauch <genone@gentoo.org>2007-02-17 03:53:30 +0000
commitb53c5189e8961826cd7d89e255820166a20bb01c (patch)
tree0c5891ab86c0f11e979e4dacb90e32367fab0593
parentdffd52202e89374e3ff38b645cf7d5bc0360a36b (diff)
downloadportage-b53c5189e8961826cd7d89e255820166a20bb01c.tar.gz
portage-b53c5189e8961826cd7d89e255820166a20bb01c.tar.bz2
portage-b53c5189e8961826cd7d89e255820166a20bb01c.zip
Add support for RSYNC_EXTRA_OPTS to webrsync
svn path=/main/trunk/; revision=5973
-rwxr-xr-xbin/emerge-webrsync4
1 files 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