summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-04-28 17:37:39 +0000
committerZac Medico <zmedico@gentoo.org>2007-04-28 17:37:39 +0000
commitafc5036aebc130374615c317f45d454b4f4ab0dd (patch)
tree889018715124d34c19d847c5d470ed582b096710
parent46e9c3ee8d4b87e43833cc335d5668320a25d90c (diff)
downloadportage-afc5036aebc130374615c317f45d454b4f4ab0dd.tar.gz
portage-afc5036aebc130374615c317f45d454b4f4ab0dd.tar.bz2
portage-afc5036aebc130374615c317f45d454b4f4ab0dd.zip
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
-rw-r--r--cnf/make.globals4
1 files changed, 2 insertions, 2 deletions
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"