From 7a31040893394892b20c316cfac53f59a4a78c21 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 28 Mar 2008 11:32:06 +0000 Subject: [PATCH] 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 --- cnf/make.globals | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.26.2