summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-05-08 01:01:53 -0700
committerZac Medico <zmedico@gentoo.org>2010-05-08 01:01:53 -0700
commit76b879a5719a94e0dbb3a9519e75698a75275c2f (patch)
treebcfad01ec2d3ef332cf023b477bf657e7b5b16f2
parentf364dc8376855cab9a4b8a8ca28401f09043261a (diff)
downloadportage-76b879a5719a94e0dbb3a9519e75698a75275c2f.tar.gz
portage-76b879a5719a94e0dbb3a9519e75698a75275c2f.tar.bz2
portage-76b879a5719a94e0dbb3a9519e75698a75275c2f.zip
Add defaults for FETCHCOMMAND_RSYNC and RESUMECOMMAND_RSYNC. Thanks to
Robin H. Johnson <robbat2@gentoo.org>.
-rw-r--r--cnf/make.globals3
1 files changed, 3 insertions, 0 deletions
diff --git a/cnf/make.globals b/cnf/make.globals
index a809ae4d5..42e7d3215 100644
--- a/cnf/make.globals
+++ b/cnf/make.globals
@@ -40,6 +40,9 @@ PORTAGE_TMPDIR=/var/tmp
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
+FETCHCOMMAND_RSYNC="rsync -avP \"\${URI}\" \"\${DISTDIR}/\${FILE}\""
+RESUMECOMMAND_RSYNC="rsync -avP \"\${URI}\" \"\${DISTDIR}/\${FILE}\""
+
# Default user options
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned
sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"