summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/CPAN.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-12-23 12:43:44 +0100
committermkanat%bugzilla.org <>2007-12-23 12:43:44 +0100
commit46ecf5269c546707f091b0a7a98d1ef3914dc48c (patch)
treed0615363361ecc68365aaff0af118ae9d94e46f3 /Bugzilla/Install/CPAN.pm
parent57411366af5e116d6ffbb024a7c093e35851af21 (diff)
downloadbugzilla-46ecf5269c546707f091b0a7a98d1ef3914dc48c.tar.gz
bugzilla-46ecf5269c546707f091b0a7a98d1ef3914dc48c.tar.xz
Bug 409595: install-module.pl should shuffle the urllist for the CPAN mirrors
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
Diffstat (limited to 'Bugzilla/Install/CPAN.pm')
-rw-r--r--Bugzilla/Install/CPAN.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Install/CPAN.pm b/Bugzilla/Install/CPAN.pm
index 01eceafeb..b37e6d40d 100644
--- a/Bugzilla/Install/CPAN.pm
+++ b/Bugzilla/Install/CPAN.pm
@@ -29,6 +29,7 @@ use Bugzilla::Install::Util qw(bin_loc install_string);
use CPAN;
use Cwd qw(abs_path);
use File::Path qw(rmtree);
+use List::Util qw(shuffle);
# We need the absolute path of ext_libpath, because CPAN chdirs around
# and so we can't use a relative directory.
@@ -62,7 +63,7 @@ use constant CPAN_DEFAULTS => {
unzip => bin_loc('unzip'),
wget => bin_loc('wget'),
- urllist => [qw(
+ urllist => [shuffle qw(
http://cpan.pair.com/
http://mirror.hiwaay.net/CPAN/
ftp://ftp.dc.aleron.net/pub/CPAN/