summaryrefslogtreecommitdiff
path: root/cnf
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 /cnf
parentComment in portage.movefile() that it's impossible to preserve timestamps of ... (diff)
downloadportage-idfetch-466cfb920412a47c1bf8e47628dd59f90a7220b2.tar.gz
portage-idfetch-466cfb920412a47c1bf8e47628dd59f90a7220b2.tar.bz2
portage-idfetch-466cfb920412a47c1bf8e47628dd59f90a7220b2.zip
For bug #153967, use -O ${DISTDIR}/${FILE} in the default FETCHCOMMAND.
svn path=/main/trunk/; revision=6741
Diffstat (limited to 'cnf')
-rw-r--r--cnf/make.globals4
1 files changed, 2 insertions, 2 deletions
diff --git a/cnf/make.globals b/cnf/make.globals
index a186f0fd..61e42664 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"