From: Zac Medico Date: Mon, 3 Mar 2008 04:28:19 +0000 (-0000) Subject: Quote the file path and uri inside FETCHCOMMAND and RESUMECOMMAND. Thanks X-Git-Tag: v2.2_pre4~29 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6e8a6d851ce09eb11199138b0272aa2d8efd66be;p=portage.git Quote the file path and uri inside FETCHCOMMAND and RESUMECOMMAND. Thanks to igli for suggesting. svn path=/main/trunk/; revision=9418 --- diff --git a/cnf/make.globals b/cnf/make.globals index dac8dec2b..d36ede9a3 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"