diff options
author | Allan McRae <allan@archlinux.org> | 2012-06-03 22:57:35 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2012-08-04 00:16:38 +1000 |
commit | 1a04e2e11a012162b7b3b91e4c7a8c82dd113a94 (patch) | |
tree | e6dfb36b160992bb44c60b7a00817a406687b307 /lib/libalpm | |
parent | a922d1805696b6614649a8d3588297d44f4e1192 (diff) | |
download | pacman-1a04e2e11a012162b7b3b91e4c7a8c82dd113a94.tar.xz |
makepkg: generalize download_sources
In order to treat all VCS sources as URLs, we need to be able to
deal with more protocols. Rewrite download_sources to use a case
statement so additional protocols are easily added.
Also fix the use of scp to not pass the protocol in the URL
(noticed by William J. Bowman <wjb@williamjbowman.com>)
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
0 files changed, 0 insertions, 0 deletions