summaryrefslogtreecommitdiff
path: root/cnf
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 /cnf
parentFix up missing mymergelist variable from the previous commit. (diff)
downloadportage-idfetch-afc5036aebc130374615c317f45d454b4f4ab0dd.tar.gz
portage-idfetch-afc5036aebc130374615c317f45d454b4f4ab0dd.tar.bz2
portage-idfetch-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
Diffstat (limited to 'cnf')
-rw-r--r--cnf/make.globals4
1 files changed, 2 insertions, 2 deletions
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"