From a8305296040b34be4dc21c33bbd65a7a38fa5c60 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 22 Oct 2013 10:02:34 +0000 Subject: Randomize build order --- rebuild-packages | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rebuild-packages b/rebuild-packages index c23d59f..f1d2fba 100755 --- a/rebuild-packages +++ b/rebuild-packages @@ -6,6 +6,7 @@ use Youri::Package::RPM::Updater; use LWP::UserAgent; use MDK::Common; use Cwd; +use List::Util qw(shuffle); my $status_page = 'http://pkgsubmit.mageia.org/'; my $svn_root = 'svn+ssh://svn.mageia.org/svn/packages/cauldron/'; @@ -18,7 +19,7 @@ print $ci_fh $commit_msg; close $ci_fh; sub list_from_file { - chomp_(cat_($_[0])); + shuffle(chomp_(cat_($_[0]))); } sub get_bs_queue_todo() { -- cgit v1.2.1