Quote the file path and uri inside FETCHCOMMAND and RESUMECOMMAND. Thanks
authorZac Medico <zmedico@gentoo.org>
Mon, 3 Mar 2008 04:28:19 +0000 (04:28 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 3 Mar 2008 04:28:19 +0000 (04:28 -0000)
to igli for suggesting.

svn path=/main/trunk/; revision=9418

cnf/make.globals

index dac8dec2beda77ca9fc4bbbb46120e99ad3f9183..d36ede9a375c3fed86bc955185c815ad70dc701b 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"