For bug #175058, properly quote the variables in FETCHCOMMAND and RESUMECOMMAND since...
authorZac Medico <zmedico@gentoo.org>
Sat, 28 Apr 2007 17:37:39 +0000 (17:37 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 28 Apr 2007 17:37:39 +0000 (17:37 -0000)
svn path=/main/trunk/; revision=6452

cnf/make.globals

index 45ffea6800959dbd797713849d31e27830235c48..51475f12ab6e75474e75cc57937ea69f44255f96 100644 (file)
@@ -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"