diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2008-08-01 08:29:46 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-08-04 20:11:18 +0200 |
commit | 9bc799ec7b1718e6d90ceedd5e08672068e26e10 (patch) | |
tree | dbaed0570f2c871f3eea0b5d7e70867afc0bd846 /scripts/rankmirrors.py.in | |
parent | 692ea72822e6cf11930fc8f85afd23c1b65f1e8e (diff) | |
download | pacman-9bc799ec7b1718e6d90ceedd5e08672068e26e10.tar.gz pacman-9bc799ec7b1718e6d90ceedd5e08672068e26e10.tar.xz |
makepkg: fix download functions with weird urls.
This fixes FS#11076.
1) quote the url in get_downloadclient
2) only enable nullglob where it is needed
You can see in 7fc306cd41 that nullglob was only enabled for one part, and
that it already caused other problems, which were fixed in 7ff5a917fd0.
Thanks to Henning Garus for pointing out that nullglob was problematic with
urls containing expansion char like '?'.
3) change get_downloadcmd which displayed the download command line to
download_file which actually executes the download. It seems nicer that way.
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/rankmirrors.py.in')
0 files changed, 0 insertions, 0 deletions