From: Zac Medico Date: Sat, 28 Apr 2007 17:37:39 +0000 (-0000) Subject: For bug #175058, properly quote the variables in FETCHCOMMAND and RESUMECOMMAND since... X-Git-Tag: v2.2_pre1~1467 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=afc5036aebc130374615c317f45d454b4f4ab0dd;p=portage.git For bug #175058, properly quote the variables in FETCHCOMMAND and RESUMECOMMAND since the command is spawned in a bash shell. svn path=/main/trunk/; revision=6452 --- 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"