diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-12-08 10:21:04 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-12-08 10:21:04 -0800 |
commit | 2f0a800ef2de88feadec7ab060580fac5fde1ad9 (patch) | |
tree | ce8e09d448a18a33f1f57a45d2c56c55dc7f13e5 /pym | |
parent | f38e5fced3cf96c086093314f5227bc024c20d9b (diff) | |
download | portage-2f0a800ef2de88feadec7ab060580fac5fde1ad9.tar.gz portage-2f0a800ef2de88feadec7ab060580fac5fde1ad9.tar.bz2 portage-2f0a800ef2de88feadec7ab060580fac5fde1ad9.zip |
Use 'wget' instead of /usr/bin/wget everywhere.
This reduces the amount of patching needed for prefix installs.
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage/tests/util/test_getconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/tests/util/test_getconfig.py b/pym/portage/tests/util/test_getconfig.py index 22e0bfc5f..00f7f52e2 100644 --- a/pym/portage/tests/util/test_getconfig.py +++ b/pym/portage/tests/util/test_getconfig.py @@ -13,7 +13,7 @@ class GetConfigTestCase(TestCase): """ _cases = { - 'FETCHCOMMAND' : '/usr/bin/wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"', + 'FETCHCOMMAND' : 'wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"', 'FETCHCOMMAND_RSYNC' : 'rsync -avP "${URI}" "${DISTDIR}/${FILE}"', 'FETCHCOMMAND_SFTP' : 'bash -c "x=\\${2#sftp://} ; host=\\${x%%/*} ; port=\\${host##*:} ; host=\\${host%:*} ; [[ \\${host} = \\${port} ]] && port=22 ; exec sftp -P \\${port} \\"\\${host}:/\\${x#*/}\\" \\"\\$1\\"" sftp "${DISTDIR}/${FILE}" "${URI}"', 'FETCHCOMMAND_SSH' : 'bash -c "x=\\${2#ssh://} ; host=\\${x%%/*} ; port=\\${host##*:} ; host=\\${host%:*} ; [[ \\${host} = \\${port} ]] && port=22 ; exec rsync --rsh=\\"ssh -p\\${port}\\" -avP \\"\\${host}:/\\${x#*/}\\" \\"\\$1\\"" rsync "${DISTDIR}/${FILE}" "${URI}"', |