diff options
-rwxr-xr-x | rebuild-packages | 3 |
1 files changed, 2 insertions, 1 deletions
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() { |