diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-04-28 17:38:43 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-04-28 17:38:43 +0000 |
commit | ec8815c7bccdd10978bb875623e0d23611efb017 (patch) | |
tree | 28174eaf16a9f84ef9f0339f02ee55e63c6555cc | |
parent | 371a2630e0c369a334090606cbc1f2b148c4ca61 (diff) | |
download | portage-ec8815c7bccdd10978bb875623e0d23611efb017.tar.gz portage-ec8815c7bccdd10978bb875623e0d23611efb017.tar.bz2 portage-ec8815c7bccdd10978bb875623e0d23611efb017.zip |
For bug #175058, properly quote the variables in FETCHCOMMAND and RESUMECOMMAND since the command is spawned in a bash shell. (trunk r6451:6452)
svn path=/main/branches/2.1.2/; revision=6453
-rw-r--r-- | cnf/make.globals | 4 |
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" |