Quote the file path and uri inside FETCHCOMMAND and RESUMECOMMAND. Thanks
authorZac Medico <zmedico@gentoo.org>
Fri, 28 Mar 2008 11:32:06 +0000 (11:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 28 Mar 2008 11:32:06 +0000 (11:32 -0000)
to igli for suggesting. (trunk r9418)

svn path=/main/branches/2.1.2/; revision=9543

cnf/make.globals

index 8fd5fc0b6a7d3b1c94f17fd27599ada45a8a97ad..1e08b628f7570bdafd6483d7feab9842ae7e4871 100644 (file)
@@ -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"