From afc5036aebc130374615c317f45d454b4f4ab0dd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 28 Apr 2007 17:37:39 +0000 Subject: 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 --- cnf/make.globals | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cnf') diff --git a/cnf/make.globals b/cnf/make.globals index 45ffea68..51475f12 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" -- cgit v1.2.3-65-gdbad