diff options
author | Allan McRae <allan@archlinux.org> | 2012-06-03 14:57:35 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2012-08-03 16:16:38 +0200 |
commit | 1a04e2e11a012162b7b3b91e4c7a8c82dd113a94 (patch) | |
tree | e6dfb36b160992bb44c60b7a00817a406687b307 /scripts/pacman-optimize.sh.in | |
parent | a922d1805696b6614649a8d3588297d44f4e1192 (diff) | |
download | pacman-1a04e2e11a012162b7b3b91e4c7a8c82dd113a94.tar.gz 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 'scripts/pacman-optimize.sh.in')
0 files changed, 0 insertions, 0 deletions