diff options
author | Marius Mauch <genone@gentoo.org> | 2007-02-17 03:53:30 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2007-02-17 03:53:30 +0000 |
commit | b53c5189e8961826cd7d89e255820166a20bb01c (patch) | |
tree | 0c5891ab86c0f11e979e4dacb90e32367fab0593 | |
parent | dffd52202e89374e3ff38b645cf7d5bc0360a36b (diff) | |
download | portage-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-x | bin/emerge-webrsync | 4 |
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 |