summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-06 04:09:08 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-06 04:09:08 +0000
commit466cfb920412a47c1bf8e47628dd59f90a7220b2 (patch)
tree6467818bd2ecd6c7f612190b32b0444d7ede0178
parent65764654946644f5c0b36ca106e79e097fcba44d (diff)
downloadportage-466cfb920412a47c1bf8e47628dd59f90a7220b2.tar.gz
portage-466cfb920412a47c1bf8e47628dd59f90a7220b2.tar.bz2
portage-466cfb920412a47c1bf8e47628dd59f90a7220b2.zip
For bug #153967, use -O ${DISTDIR}/${FILE} in the default FETCHCOMMAND.
svn path=/main/trunk/; revision=6741
-rw-r--r--cnf/make.globals4
1 files changed, 2 insertions, 2 deletions
diff --git a/cnf/make.globals b/cnf/make.globals
index a186f0fd7..61e426642 100644
--- a/cnf/make.globals
+++ b/cnf/make.globals
@@ -29,8 +29,8 @@ RPMDIR=/usr/portage/rpm
PORTAGE_TMPDIR=/var/tmp
# Fetching command (5 tries, passive ftp for firewall compatibility)
-FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -P \${DISTDIR} \${URI}"
-RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -P \${DISTDIR} \${URI}"
+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}"
# Default user options
FEATURES="sandbox distlocks metadata-transfer"