From 1438dcafc07ac81ea83f76c1bd0812f95492792f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 22 Jun 2007 01:20:42 +0000 Subject: [PATCH] Add support for RSYNC_EXTRA_OPTS to webrsync (trunk r5973) svn path=/main/branches/2.1.2/; revision=6927 --- bin/emerge-webrsync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync index 369f473be..d8c025732 100755 --- a/bin/emerge-webrsync +++ b/bin/emerge-webrsync @@ -9,7 +9,7 @@ type portageq > /dev/null || exit $? eval $(portageq envvar -v FEATURES FETCHCOMMAND GENTOO_MIRRORS \ PORTAGE_BIN_PATH PORTAGE_INST_UID PORTAGE_INST_GID PORTAGE_NICENESS \ 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 @@ -72,7 +72,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