summaryrefslogtreecommitdiffstats
path: root/contrib/rankmirrors.sh.in
AgeCommit message (Collapse)AuthorFilesLines
2013-09-18contrib: Unify quoting in error messagesAaron Lindsay1-5/+5
This fixes error messages to display the contents of variables rather than the variable name by replacing backticks with single quotes (m4 eats backticks). It also removes $"" localization from error messages to eliminate security holes. For instance, `rankmirrors nonexistent_file' will now display: 'nonexistent_file' does not exist. rather than: $1 does not exist. Signed-off-by: Aaron Lindsay <aaron@aclindsay.com> Signed-off-by: Allan McRae <allan@archlinux.org>
2012-04-25rankmirrors: move to contrib/Dave Reisner1-0/+212
This script is of questionable value, as it ranks mirrors by an uninteresting attribute: ping. While the script itself is interesting, people should be encouraged to rank mirrors by more useful measures, such as actual speed, locality, or up to date-ness. Signed-off-by: Dave Reisner <dreisner@archlinux.org>