From: Zac Medico Date: Sat, 28 Apr 2007 17:38:43 +0000 (-0000) Subject: For bug #175058, properly quote the variables in FETCHCOMMAND and RESUMECOMMAND since... X-Git-Tag: v2.1.2.6~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ec8815c7bccdd10978bb875623e0d23611efb017;p=portage.git For bug #175058, properly quote the variables in FETCHCOMMAND and RESUMECOMMAND since the command is spawned in a bash shell. (trunk r6451:6452) svn path=/main/branches/2.1.2/; revision=6453 --- diff --git a/cnf/make.globals b/cnf/make.globals index 45ffea680..51475f12a 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 -P \${DISTDIR} \${URI}" -RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -P \${DISTDIR} \${URI}" +FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -P \\\"\${DISTDIR}\\\" \\\"\${URI}\\\"" +RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -P \\\"\${DISTDIR}\\\" \\\"\${URI}\\\"" # Default user options FEATURES="sandbox distlocks metadata-transfer"