From: Zac Medico Date: Fri, 28 Mar 2008 11:32:06 +0000 (-0000) Subject: Quote the file path and uri inside FETCHCOMMAND and RESUMECOMMAND. Thanks X-Git-Tag: v2.1.5~347 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7a31040893394892b20c316cfac53f59a4a78c21;p=portage.git Quote the file path and uri inside FETCHCOMMAND and RESUMECOMMAND. Thanks to igli for suggesting. (trunk r9418) svn path=/main/branches/2.1.2/; revision=9543 --- diff --git a/cnf/make.globals b/cnf/make.globals index 8fd5fc0b6..1e08b628f 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 -O \${DISTDIR}/\${FILE} \${URI}" -RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O \${DISTDIR}/\${FILE} \${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="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"