diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-01-08 22:05:19 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-01-08 22:05:19 +0000 |
commit | e46089b173546da5da515da8ad3be352a1494fc0 (patch) | |
tree | 83401e1c20eb8b5acb46975e32a1be5fdbf6649c | |
parent | 4370d9ec43b6ef6890353f155677c2ee797026fc (diff) | |
download | portage-e46089b173546da5da515da8ad3be352a1494fc0.tar.gz portage-e46089b173546da5da515da8ad3be352a1494fc0.tar.bz2 portage-e46089b173546da5da515da8ad3be352a1494fc0.zip |
Bug #253800 - Fix FETCHCOMMAND examples for SRC_URI arrow compatibility.
svn path=/main/trunk/; revision=12398
-rw-r--r-- | cnf/make.conf | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/cnf/make.conf b/cnf/make.conf index d35c3ea88..8fd4ff8aa 100644 --- a/cnf/make.conf +++ b/cnf/make.conf @@ -125,19 +125,20 @@ # # Portage uses wget by default. Here are some settings for some alternate # downloaders -- note that you need to merge these programs first before they -# will be available. +# will be available. The command should be written to place the fetched file +# at \${DISTDIR}/\${FILE}. # # Default fetch command (5 tries, passive ftp for firewall compatibility) -#FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp \${URI} -P \${DISTDIR}" -#RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp \${URI} -P \${DISTDIR}" +#FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" +#RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" # # Using wget, ratelimiting downloads -#FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp --limit-rate=200k \${URI} -P \${DISTDIR}" -#RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp --limit-rate=200k \${URI} -P \${DISTDIR}" +#FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp --limit-rate=200k -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" +#RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp --limit-rate=200k -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" # # Lukemftp (BSD ftp): -#FETCHCOMMAND="/usr/bin/lukemftp -s -a -o \${DISTDIR}/\${FILE} \${URI}" -#RESUMECOMMAND="/usr/bin/lukemftp -s -a -R -o \${DISTDIR}/\${FILE} \${URI}" +#FETCHCOMMAND="/usr/bin/lukemftp -s -a -o \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" +#RESUMECOMMAND="/usr/bin/lukemftp -s -a -R -o \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" # # Portage uses GENTOO_MIRRORS to specify mirrors to use for source retrieval. # The list is a space separated list which is read left to right. If you use |