summaryrefslogtreecommitdiffstats
path: root/cnf
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-04-29 06:33:47 +0000
committerZac Medico <zmedico@gentoo.org>2007-04-29 06:33:47 +0000
commitf281ed3e6888b50fdaaf615a0e6065b391fb9409 (patch)
treef16dc6db94041ad8830d8b200fee9d168e53eecc /cnf
parent1f9baeb7bef4c68a25a5e79fe47471196bf7585e (diff)
downloadportage-f281ed3e6888b50fdaaf615a0e6065b391fb9409.tar.gz
portage-f281ed3e6888b50fdaaf615a0e6065b391fb9409.tar.bz2
portage-f281ed3e6888b50fdaaf615a0e6065b391fb9409.zip
For bug #175058, avoid potential quoting issues by spawning FETCHCOMMAND without a shell.
svn path=/main/trunk/; revision=6456
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 51475f12a..45ffea680 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"